@@ -8,7 +8,14 @@ export function listTask(query) { | |||||
params: query | params: query | ||||
}) | }) | ||||
} | } | ||||
// 数据调查任务列表(带完成数、调查数) | |||||
export function mobileList(query) { | |||||
return request({ | |||||
url: '/home/homesteadsurvey/mobileList', | |||||
method: 'get', | |||||
params: query | |||||
}) | |||||
} | |||||
// 导出数据调查任务 | // 导出数据调查任务 | ||||
export function exportTask(id) { | export function exportTask(id) { | ||||
return request({ | return request({ | ||||
@@ -63,6 +63,7 @@ export default { | |||||
}, | }, | ||||
}, | }, | ||||
created() { | created() { | ||||
console.info(this.businessType); | |||||
if (this.businessType !== null) { | if (this.businessType !== null) { | ||||
this.showAttachmentComp(this.businessType, this.proposerId, this.houseApplyStatus, this.processKey, this.tableName, this.full) | this.showAttachmentComp(this.businessType, this.proposerId, this.houseApplyStatus, this.processKey, this.tableName, this.full) | ||||
} | } | ||||
@@ -301,6 +301,8 @@ | |||||
<van-datetime-picker | <van-datetime-picker | ||||
:value="new Date" | :value="new Date" | ||||
type="date" | type="date" | ||||
:min-date="minDate" | |||||
:max-date="maxDate" | |||||
@confirm="onConfirmzjdqdsj" | @confirm="onConfirmzjdqdsj" | ||||
@cancel="showZjdqdsj = false" | @cancel="showZjdqdsj = false" | ||||
/> | /> | ||||
@@ -790,8 +792,8 @@ export default { | |||||
showXzyy:false, | showXzyy:false, | ||||
showXzqssj:false, | showXzqssj:false, | ||||
showUpload:false, | showUpload:false, | ||||
minDate: new Date(1900,0,1), | |||||
maxDate: new Date(2025, 10, 1), | |||||
minDate: new Date(1950,1,1), | |||||
maxDate: new Date(2030, 10, 1), | |||||
form:{} | form:{} | ||||
}; | }; | ||||
}, | }, | ||||
@@ -74,11 +74,11 @@ | |||||
<p style="flex:1;text-align:right;">{{item.nhdm}}</p> | <p style="flex:1;text-align:right;">{{item.nhdm}}</p> | ||||
</div> | </div> | ||||
<div style="text-align:center;overflow:auto;display: flex;justify-content: space-between;margin-top: 10px;"> | <div style="text-align:center;overflow:auto;display: flex;justify-content: space-between;margin-top: 10px;"> | ||||
<p style="width:32%;display: flex;align-items: center;justify-content:center;border: 1px solid transparent;background: #22B7F2;padding: 3px 0;border-radius: 50px;" @click="showPopupnh(item)"> | |||||
<img src="../../assets/images/housesteadSurvey/add01.png" alt=""> | |||||
<span style="font-size: 14px;color: #fff;margin-left: 5px;">户主</span> | |||||
<p style="width:32%;display: flex;align-items: center;justify-content:center;border: 1px solid #22B7F2;padding: 3px 0;border-radius: 50px;" @click="showPopupnh(item)"> | |||||
<img src="../../assets/images/housesteadSurvey/add02.png" alt=""> | |||||
<span style="font-size: 14px;color: #22B7F2;margin-left: 5px;">户主</span> | |||||
</p> | </p> | ||||
<p style="width:32%;display: flex;align-items: center;justify-content:center;border: 1px solid transparent;background: rgba(34,183,242,0.14);padding: 3px 0;border-radius: 50px;" @click="showPopupsyqr(item)"> | |||||
<p style="width:32%;display: flex;align-items: center;justify-content:center;border: 1px solid #22B7F2;padding: 3px 0;border-radius: 50px;" @click="showPopupsyqr(item)"> | |||||
<img src="../../assets/images/housesteadSurvey/add02.png" alt=""> | <img src="../../assets/images/housesteadSurvey/add02.png" alt=""> | ||||
<span style="font-size: 14px;color: #22B7F2;margin-left: 5px;">使用权人</span> | <span style="font-size: 14px;color: #22B7F2;margin-left: 5px;">使用权人</span> | ||||
</p> | </p> | ||||
@@ -89,7 +89,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
<template #right> | <template #right> | ||||
<van-button v-if="permission == 'true'" square text="删除" type="danger" class="delete-button" @click="deleteshyqr(item)"/> | |||||
<van-button v-if="permission == 'true'" square text="删除" type="danger" class="delete-button" @click="deleteshyqr(item)"><img width="10px" src="../../assets/images/sunVillage_info/list_icon_7.png" alt="">删除</van-button> | |||||
</template> | </template> | ||||
</van-swipe-cell> | </van-swipe-cell> | ||||
</van-list> | </van-list> | ||||
@@ -205,7 +205,7 @@ export default { | |||||
const ids = val.id || this.ids; | const ids = val.id || this.ids; | ||||
Dialog.confirm({ | Dialog.confirm({ | ||||
title: '系统提示', | title: '系统提示', | ||||
message: '是否确认删除使用权人标识为"' + val.id + '"的数据项?', | |||||
message: '是否确认删除使用权人数据项?', | |||||
confirmButtonText: '确定', | confirmButtonText: '确定', | ||||
cancelButtonText: '取消' | cancelButtonText: '取消' | ||||
}) | }) | ||||
@@ -74,9 +74,9 @@ | |||||
<p style="flex:1;text-align:right;">{{item.zcs}}</p> | <p style="flex:1;text-align:right;">{{item.zcs}}</p> | ||||
</div> | </div> | ||||
<div style="text-align:center;overflow:auto;display: flex;justify-content: space-between;margin-top: 10px;"> | <div style="text-align:center;overflow:auto;display: flex;justify-content: space-between;margin-top: 10px;"> | ||||
<p style="width:49%;display: flex;align-items: center;justify-content:center;border: 1px solid transparent;background: #22B7F2;padding: 3px 0;border-radius: 50px;" @click="showPopupzrz(item)"> | |||||
<img src="../../assets/images/housesteadSurvey/add01.png" alt=""> | |||||
<span style="font-size: 14px;color: #fff;margin-left: 5px;">自然幢信息</span> | |||||
<p style="width:49%;display: flex;align-items: center;justify-content:center;border: 1px solid #22B7F2;padding: 3px 0;border-radius: 50px;" @click="showPopupzrz(item)"> | |||||
<img src="../../assets/images/housesteadSurvey/add02.png" alt=""> | |||||
<span style="font-size: 14px;color: #22B7F2;margin-left: 5px;">自然幢信息</span> | |||||
</p> | </p> | ||||
<p style="width:49%;display: flex;align-items: center;justify-content:center;border: 1px solid #22B7F2;padding: 3px 0;border-radius: 50px;" @click="shownmfwlist(item)"> | <p style="width:49%;display: flex;align-items: center;justify-content:center;border: 1px solid #22B7F2;padding: 3px 0;border-radius: 50px;" @click="shownmfwlist(item)"> | ||||
<img src="../../assets/images/housesteadSurvey/add02.png" alt=""> | <img src="../../assets/images/housesteadSurvey/add02.png" alt=""> | ||||
@@ -85,8 +85,14 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
<template #right> | <template #right> | ||||
<van-button v-if="permission == 'true'" square type="danger" class="delete-button" @click="deletezrz(item)"><img width="10px" src="../../assets/images/sunVillage_info/list_icon_7.png" alt="">删除</van-button> | |||||
<van-button square type="info" class="delete-button" style="position: relative;" @click="showUploadList(item.id)"><van-icon style="bottom: -3px;" name="photo-o" size=".4rem" color="#FFFFFF"/>自然幢附件</van-button> | |||||
<van-row> | |||||
<van-col> | |||||
<van-button square type="info" class="delete-button" style="position: relative;" @click="showUploadList(item.id)"><van-icon style="bottom: -3px;" name="photo-o" size=".4rem" color="#FFFFFF"/>附件</van-button> | |||||
</van-col> | |||||
<van-col> | |||||
<van-button v-if="permission == 'true'" square type="danger" class="delete-button" @click="deletezrz(item)"><img width="10px" src="../../assets/images/sunVillage_info/list_icon_7.png" alt="">删除</van-button> | |||||
</van-col> | |||||
</van-row> | |||||
</template> | </template> | ||||
</van-swipe-cell> | </van-swipe-cell> | ||||
</van-list> | </van-list> | ||||
@@ -350,7 +356,7 @@ export default { | |||||
const ids = val.id || this.ids; | const ids = val.id || this.ids; | ||||
Dialog.confirm({ | Dialog.confirm({ | ||||
title: '系统提示', | title: '系统提示', | ||||
message: '是否确认删除自然幢标识为"' + val.id + '"的数据项?', | |||||
message: '是否确认删除自然幢号数据项?', | |||||
confirmButtonText: '确定', | confirmButtonText: '确定', | ||||
cancelButtonText: '取消' | cancelButtonText: '取消' | ||||
}) | }) | ||||
@@ -389,6 +395,12 @@ export default { | |||||
>>> .delete-button { | >>> .delete-button { | ||||
height: 100%; | height: 100%; | ||||
} | } | ||||
>>> .van-row{ | |||||
height: 100%; | |||||
} | |||||
>>> .van-col{ | |||||
height: 100%; | |||||
} | |||||
>>> .van-swipe-cell__wrapper{ | >>> .van-swipe-cell__wrapper{ | ||||
margin-right:-3px; | margin-right:-3px; | ||||
} | } | ||||
@@ -74,18 +74,21 @@ | |||||
<p style="flex:1;text-align:right;">{{ formatDict(jzwqkList, item.jzwqk) }} </p> | <p style="flex:1;text-align:right;">{{ formatDict(jzwqkList, item.jzwqk) }} </p> | ||||
</div> | </div> | ||||
<div style="text-align:center;overflow:auto;display: flex;justify-content: center;margin-top: 10px;"> | <div style="text-align:center;overflow:auto;display: flex;justify-content: center;margin-top: 10px;"> | ||||
<p style="width:49%;display: flex;align-items: center;justify-content:center;border: 1px solid transparent;background: #22B7F2;padding: 3px 0;border-radius: 50px;" @click="showUploadList(item.id)"> | |||||
<van-icon name="photo-o" size=".4rem" color="#FFFFFF"/> | |||||
<span style="font-size: 14px;color: #fff;margin-left: 5px;">附件</span> | |||||
</p> | |||||
<p style="width:49%;display: flex;align-items: center;justify-content:center;border: 1px solid transparent;background: #22B7F2;padding: 3px 0;border-radius: 50px;" @click="showPopupzrz(item)"> | |||||
<img src="../../assets/images/housesteadSurvey/add01.png" alt=""> | |||||
<span style="font-size: 14px;color: #fff;margin-left: 5px;" >查看附属设施信息</span> | |||||
<p style="width:49%;display: flex;align-items: center;justify-content:center;border: 1px solid #22B7F2;padding: 3px 0;border-radius: 50px;" @click="showPopupzrz(item)"> | |||||
<img src="../../assets/images/housesteadSurvey/add02.png" alt=""> | |||||
<span style="font-size: 14px;color: #22B7F2;margin-left: 5px;" >查看附属设施信息</span> | |||||
</p> | </p> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<template #right> | <template #right> | ||||
<van-button v-show="permission == 'true'" square text="删除" type="danger" class="delete-button" @click="deletefsss(item)"/> | |||||
<van-row> | |||||
<van-col> | |||||
<van-button square type="info" class="delete-button" style="position: relative;" @click="showUploadList(item.id)"><van-icon style="bottom: -3px;" name="photo-o" size=".4rem" color="#FFFFFF"/>附件</van-button> | |||||
</van-col> | |||||
<van-col> | |||||
<van-button v-show="permission == 'true'" square type="danger" class="delete-button" @click="deletefsss(item)"><img width="10px" src="../../assets/images/sunVillage_info/list_icon_7.png" alt="">删除</van-button> | |||||
</van-col> | |||||
</van-row> | |||||
</template> | </template> | ||||
</van-swipe-cell> | </van-swipe-cell> | ||||
</van-list> | </van-list> | ||||
@@ -98,22 +101,17 @@ | |||||
<p v-if="permission == 'true'" style="width:32%;border: 1px solid transparent;background: #FA5353;padding: 5px 0;border-radius: 50px;"> | <p v-if="permission == 'true'" style="width:32%;border: 1px solid transparent;background: #FA5353;padding: 5px 0;border-radius: 50px;"> | ||||
<span style="font-size: 14px;color: #fff;margin-left: 5px;" @click="ycbj()">异常标记</span> | <span style="font-size: 14px;color: #fff;margin-left: 5px;" @click="ycbj()">异常标记</span> | ||||
</p> | </p> | ||||
<p v-if="permission == 'true'" style="width:32%;border: 1px solid transparent;background: #22B7F2;padding: 5px 0;border-radius: 50px;"> | |||||
<span style="font-size: 14px;color: #fff;margin-left: 5px;" @click="qmqr()">签名确认</span> | |||||
<p v-if="zjdzdxx.surveyStatus == '4'" style="width:32%;border: 1px solid transparent;background: #FFA500;padding: 5px 0;border-radius: 50px;"> | |||||
<span style="font-size: 14px;color: #fff;margin-left: 5px;" @click="bhyyLook()">驳回原因</span> | |||||
</p> | |||||
<p style="width:32%;border: 1px solid transparent;background: #22B7F2;padding: 5px 0;border-radius: 50px;"> | |||||
<span v-if="permission == 'true'" style="font-size: 14px;color: #fff;margin-left: 5px;" @click="qmqr()">签名确认</span> | |||||
<span v-if="permission == 'false'" style="font-size: 14px;color: #fff;margin-left: 5px;" @click="qmqr()">签名图片</span> | |||||
</p> | </p> | ||||
<p v-if = "showDcsh" style="width:32%;border: 1px solid #22B7F2;background: #ffffff;padding: 5px 0;border-radius: 50px;"> | <p v-if = "showDcsh" style="width:32%;border: 1px solid #22B7F2;background: #ffffff;padding: 5px 0;border-radius: 50px;"> | ||||
<span style="font-size: 14px;color: #22B7F2;margin-left: 5px;" @click="dcsh()">调查审核</span> | <span style="font-size: 14px;color: #22B7F2;margin-left: 5px;" @click="dcsh()">调查审核</span> | ||||
</p> | </p> | ||||
</div> | </div> | ||||
<van-popup v-model="dcshShow" position="bottom"> | |||||
<van-picker | |||||
show-toolbar | |||||
:columns="examineData" | |||||
value-key="dictLabel" | |||||
@confirm="onSurveyStatusChanged" | |||||
@cancel="dcshShow = false" | |||||
/> | |||||
</van-popup> | |||||
<van-popup v-model="showesign" closeable position="right" :style="{ height: '100%' }" | <van-popup v-model="showesign" closeable position="right" :style="{ height: '100%' }" | ||||
close-icon="close"> | close-icon="close"> | ||||
<van-row style="margin:0 10%"> | <van-row style="margin:0 10%"> | ||||
@@ -135,16 +133,16 @@ | |||||
<img src="../../assets/images/sunVillage_info/signature_icon_10.png" id="canvasTT" v-if="!signature.resultImg" | <img src="../../assets/images/sunVillage_info/signature_icon_10.png" id="canvasTT" v-if="!signature.resultImg" | ||||
style="position:absolute;top: 50%;left: 50%;transform: translate(-50%,-50%)" alt=""> | style="position:absolute;top: 50%;left: 50%;transform: translate(-50%,-50%)" alt=""> | ||||
<img :src="signature.resultImg" alt="" width="100%" v-if="signature.resultImg"/> | <img :src="signature.resultImg" alt="" width="100%" v-if="signature.resultImg"/> | ||||
<div class="signature-footer" v-if="!signature.resultImg"> | |||||
<div class="signature-footer" v-if="!signature.resultImg && permission == 'true'"> | |||||
<van-button type="primary" round size="small" @click="handleReset">清空画板</van-button> | <van-button type="primary" round size="small" @click="handleReset">清空画板</van-button> | ||||
<van-button type="primary" round size="small" @click="handleGenerate">保存提交</van-button> | <van-button type="primary" round size="small" @click="handleGenerate">保存提交</van-button> | ||||
</van-row> | |||||
</div> | </div> | ||||
</van-popup> | </van-popup> | ||||
<van-dialog v-model="ycbzShow" title="异常标记" show-cancel-button confirmButtonText="保存" cancelButtonText="关闭" @confirm="confirmn" > | |||||
<van-dialog v-model="ycbzShow" title="异常标记" show-cancel-button confirmButtonText="保存" cancelButtonText="关闭" confirmButtonColor="#323233" :before-close="onBeforeClose" > | |||||
<van-form ref="ycbzForm"> | |||||
<van-row> | <van-row> | ||||
<van-col span="24"> | <van-col span="24"> | ||||
<van-field v-model="zjdzdxx.surveyBz" label="异常备注" placeholder="异常备注" input-align="right" /> | |||||
<van-field v-model="zjdzdxx.surveyBz" label="异常备注" placeholder="异常备注" input-align="right" :rules="[{ required: true }]" required /> | |||||
</van-col> | </van-col> | ||||
<van-col span="12"> | <van-col span="12"> | ||||
<p style="margin-left: 10%;color: #646566; font-size: 0.373333rem;">备注图片</p> | <p style="margin-left: 10%;color: #646566; font-size: 0.373333rem;">备注图片</p> | ||||
@@ -153,7 +151,27 @@ | |||||
<MultiImageUploadComp :value="zjdzdxx.surveyBztp" :uploadDisabled="false" @fileUpdate="fileUpdate"/> | <MultiImageUploadComp :value="zjdzdxx.surveyBztp" :uploadDisabled="false" @fileUpdate="fileUpdate"/> | ||||
</van-col> | </van-col> | ||||
</van-row> | </van-row> | ||||
</van-form> | |||||
</van-dialog> | |||||
<van-dialog v-model="dcshShow" title="调查审核" show-cancel-button confirmButtonText="保存" cancelButtonText="关闭" confirmButtonColor="#323233" :before-close="onBeforeCloseSh" > | |||||
<van-form ref="dcshForm"> | |||||
<van-row> | |||||
<van-col span="24"> | |||||
<van-field v-model="zjdzdxx.auditRemark" label="备注" placeholder="审核备注" input-align="right" /> | |||||
</van-col> | |||||
<van-col span="8"> | |||||
<p style="margin-left: 10%;color: #646566; font-size: 0.373333rem;">审核</p> | |||||
</van-col> | |||||
<van-col span="16"> | |||||
<van-radio-group v-model="zjdzdxx.surveyStatus" direction="horizontal"> | |||||
<van-radio name="5">通过</van-radio> | |||||
<van-radio name="4">驳回</van-radio> | |||||
</van-radio-group> | |||||
</van-col> | |||||
</van-row> | |||||
</van-form> | |||||
</van-dialog> | </van-dialog> | ||||
<van-popup v-model:show="showImageList" position="bottom" style="height:40vh;padding:50px 10px 0" closeable | <van-popup v-model:show="showImageList" position="bottom" style="height:40vh;padding:50px 10px 0" closeable | ||||
@@ -205,7 +223,6 @@ export default { | |||||
ycbz:"", | ycbz:"", | ||||
jzwqkList:[], | jzwqkList:[], | ||||
fssslxList:[], | fssslxList:[], | ||||
examineData:[{dictLabel:"审批通过",dictValue:"5"},{dictLabel:"审批驳回",dictValue:"4"}], | |||||
zjdzdxx:{surveyStatus:"5"}, | zjdzdxx:{surveyStatus:"5"}, | ||||
fssslist:[], | fssslist:[], | ||||
//电子签名 | //电子签名 | ||||
@@ -228,7 +245,7 @@ export default { | |||||
this.zjdzdxx = JSON.parse(localStorage.getItem("zjdzdxxItem")); | this.zjdzdxx = JSON.parse(localStorage.getItem("zjdzdxxItem")); | ||||
this.permission = localStorage.getItem("executePermission"); | this.permission = localStorage.getItem("executePermission"); | ||||
let businessLevel = this.$store.state.user.businessLevel; | let businessLevel = this.$store.state.user.businessLevel; | ||||
console.info(this.zjdzdxx); | |||||
console.info(this.zjdzdxx.surveySign); | |||||
if(this.zjdzdxx.surveySign != null){ | if(this.zjdzdxx.surveySign != null){ | ||||
this.signature.resultImg = this.$store.getters.baseRoutingUrl+this.zjdzdxx.surveySign; | this.signature.resultImg = this.$store.getters.baseRoutingUrl+this.zjdzdxx.surveySign; | ||||
} | } | ||||
@@ -269,24 +286,29 @@ export default { | |||||
canvasTTdown() { | canvasTTdown() { | ||||
$('#canvasTT').css('display', 'none'); | $('#canvasTT').css('display', 'none'); | ||||
}, | }, | ||||
onSurveyStatusChanged(val){ | |||||
this.$set(this.zjdzdxx, 'surveyStatus', val.dictValue); | |||||
if(val.dictValue === "5"){ | |||||
let surveyItem = JSON.parse(localStorage.getItem("surveyItem")); | |||||
this.$set(this.zjdzdxx, 'surveyId', surveyItem.id); | |||||
bhyyLook(){ | |||||
Dialog({ type: 'success', message: this.zjdzdxx.auditRemark }); | |||||
}, | |||||
onBeforeCloseSh(action, done){ | |||||
if (action === 'confirm') { | |||||
updateZjdzd(this.zjdzdxx).then(response => { | |||||
if(response.code === 200){ | |||||
let _this =this | |||||
_this.$toast({ | |||||
icon: 'success', // 找到自己需要的图标 | |||||
message: '保存成功', | |||||
duration:"1000", | |||||
onClose:function(){ | |||||
_this.dcshShow = false; | |||||
_this.goRightBack(); | |||||
} | |||||
}) | |||||
} | |||||
}); | |||||
} else { | |||||
return done(); | |||||
} | } | ||||
updateZjdzd(this.zjdzdxx).then(response => { | |||||
let _this =this | |||||
_this.$toast({ | |||||
icon: 'success', // 找到自己需要的图标 | |||||
message: '保存成功', | |||||
duration:"1000", | |||||
onClose:function(){ | |||||
_this.dcshShow = false; | |||||
_this.goRightBack(); | |||||
} | |||||
}) | |||||
}); | |||||
}, | }, | ||||
onRefreshFsss(){ | onRefreshFsss(){ | ||||
if(this.loading){ | if(this.loading){ | ||||
@@ -329,15 +351,17 @@ export default { | |||||
.then((res) => { | .then((res) => { | ||||
this.signature.resultImg = res; | this.signature.resultImg = res; | ||||
let wj = this.dataURLtoBlob(res); | let wj = this.dataURLtoBlob(res); | ||||
let surveyItem = JSON.parse(localStorage.getItem("surveyItem")); | |||||
let param = new FormData() // 创建form对象 | let param = new FormData() // 创建form对象 | ||||
param.append('file', wj) // 通过append向form对象添加数据 | param.append('file', wj) // 通过append向form对象添加数据 | ||||
param.append('id', surveyItem.id) | |||||
param.append('date', this.format(new Date(), 'yyyy-MM-dd')) // 通过append向form对象添加数据 | param.append('date', this.format(new Date(), 'yyyy-MM-dd')) // 通过append向form对象添加数据 | ||||
zjddcSign(param, this.zjdzdxx.zjddm).then(response => { | |||||
zjddcSign(param, this.zjdzdxx.zjddm,surveyItem.id).then(response => { | |||||
this.$notify({type: 'success', message: '签字成功'}); | this.$notify({type: 'success', message: '签字成功'}); | ||||
this.showesign = false; | |||||
getZjdzd(this.zjdzdxx.id).then((response) => { | getZjdzd(this.zjdzdxx.id).then((response) => { | ||||
localStorage.setItem("zjdzdxxItem",JSON.stringify(response.data)) | localStorage.setItem("zjdzdxxItem",JSON.stringify(response.data)) | ||||
location.reload(); | location.reload(); | ||||
this.showesign = false; | |||||
}); | }); | ||||
@@ -388,7 +412,7 @@ export default { | |||||
const ids = val.id || this.ids; | const ids = val.id || this.ids; | ||||
Dialog.confirm({ | Dialog.confirm({ | ||||
title: '系统提示', | title: '系统提示', | ||||
message: '是否确认删除附属物标识为"' + val.id + '"的数据项?', | |||||
message: '是否确认删除附属物的数据项?', | |||||
confirmButtonText: '确定', | confirmButtonText: '确定', | ||||
cancelButtonText: '取消' | cancelButtonText: '取消' | ||||
}) | }) | ||||
@@ -400,28 +424,41 @@ export default { | |||||
}).catch(() => {}); | }).catch(() => {}); | ||||
}, | }, | ||||
qmqr(){ | qmqr(){ | ||||
if(this.zjdzdxx.surveySign != null){ | |||||
this.signature.resultImg = this.$store.getters.baseRoutingUrl+this.zjdzdxx.surveySign; | |||||
} | |||||
this.showesign = true; | this.showesign = true; | ||||
}, | }, | ||||
ycbj(){ | ycbj(){ | ||||
this.ycbzShow = true; | this.ycbzShow = true; | ||||
}, | }, | ||||
confirmn(){ | |||||
this.$set(this.zjdzdxx, 'surveyStatus', "2"); | |||||
updateZjdzd(this.zjdzdxx).then(response => { | |||||
localStorage.setItem("zjdzdxxItem",JSON.stringify(this.zjdzdxx)); | |||||
let _this =this | |||||
this.$toast({ | |||||
icon: 'success', // 找到自己需要的图标 | |||||
message: '保存成功', | |||||
duration:"1000", | |||||
onClose:function(){ | |||||
_this.getList(); | |||||
_this.$router.push({path:'/homesteadSurvey/add4',query: {zjddm: _this.zjdzdxx.zjddm}}); | |||||
} | |||||
}) | |||||
}); | |||||
// van-dialog 点击confirm事件不自动关闭 | |||||
onBeforeClose(action, done) { | |||||
if (action === 'confirm') { | |||||
this.$refs.ycbzForm.validate().then(() => { | |||||
this.$set(this.zjdzdxx, 'surveyStatus', "2"); | |||||
updateZjdzd(this.zjdzdxx).then(response => { | |||||
localStorage.setItem("zjdzdxxItem",JSON.stringify(this.zjdzdxx)); | |||||
let _this =this | |||||
this.$toast({ | |||||
icon: 'success', // 找到自己需要的图标 | |||||
message: '保存成功', | |||||
duration:"1000", | |||||
onClose:function(){ | |||||
_this.getList(); | |||||
} | |||||
}) | |||||
return done(true); | |||||
}); | |||||
}).catch(() => { | |||||
return done(false); | |||||
}); | |||||
} else { | |||||
return done(); | |||||
} | |||||
}, | }, | ||||
dcsh(){ | dcsh(){ | ||||
this.$set(this.zjdzdxx, 'surveyStatus', "5"); | |||||
this.dcshShow = true; | this.dcshShow = true; | ||||
}, | }, | ||||
showUploadList(id){ | showUploadList(id){ | ||||
@@ -584,6 +621,12 @@ export default { | |||||
>>> .delete-button { | >>> .delete-button { | ||||
height: 100%; | height: 100%; | ||||
} | } | ||||
>>> .van-row{ | |||||
height: 100%; | |||||
} | |||||
>>> .van-col{ | |||||
height: 100%; | |||||
} | |||||
>>> .van-swipe-cell__wrapper{ | >>> .van-swipe-cell__wrapper{ | ||||
margin-right:-3px; | margin-right:-3px; | ||||
} | } | ||||
@@ -65,8 +65,8 @@ | |||||
<img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 5px;"> | <img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 5px;"> | ||||
<span style="line-height: 1;">{{item.xm}}</span> | <span style="line-height: 1;">{{item.xm}}</span> | ||||
</p> | </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/add02.png" alt="" style="margin-right: 3px;">成员详情</p> | |||||
<p style="display: flex;align-items: center;color:#FA5353;font-size:12px;border-bottom: 1px dashed #FA5353;" @click="deletenh(item,index)"><img src="../../assets/images/housesteadSurvey/list08.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;" @click="showPopuphncylist(item)"><img src="../../assets/images/housesteadSurvey/add02.png" alt="" style="margin-right: 3px;">成员详情</p> | |||||
<p style="display: flex;align-items: center;color:#FA5353;font-size:12px;" @click="deletenh(item,index)"><img src="../../assets/images/housesteadSurvey/list08.png" alt="" style="margin-right: 3px;">删除</p> | |||||
</div> | </div> | ||||
</template> | </template> | ||||
@@ -77,9 +77,9 @@ | |||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
<template #right> | <template #right> | ||||
<van-button v-if="item.yhzgx != '02'" style="align-items: center;color:#22B7F2;font-size:12px;margin-left: auto;border-bottom: 1px dashed #22B7F2; height:100%;" @click="handleFenHu(item)"><img src="../../assets/images/housesteadSurvey/list09.png" alt="" style="margin-right: 3px;">分户</van-button> | |||||
<van-button v-if="item.yhzgx != '02'" style="align-items: center;color:#22B7F2;font-size:12px;border-bottom: 1px dashed #22B7F2; height:100%;" @click="handleGuohu(item,index)"><img src="../../assets/images/housesteadSurvey/add03.png" alt="" style="margin-right: 3px;">移户</van-button> | |||||
<van-button v-if="item.yhzgx != '02'" style="align-items: center;color:#22B7F2;font-size:12px;border-bottom: 1px dashed #22B7F2; height:100%;" @click="handleToHuzhu(item,index)"><img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 3px;">设为户主</van-button> | |||||
<van-button v-if="item.yhzgx != '02'" style="align-items: center;color:#22B7F2;font-size:12px;margin-left: auto;height:100%;" @click="handleFenHu(item)"><img src="../../assets/images/housesteadSurvey/list09.png" alt="" style="margin-right: 3px;">分户</van-button> | |||||
<van-button v-if="item.yhzgx != '02'" style="align-items: center;color:#22B7F2;font-size:12px;" @click="handleGuohu(item,index)"><img src="../../assets/images/housesteadSurvey/add03.png" alt="" style="margin-right: 3px;">移户</van-button> | |||||
<van-button v-if="item.yhzgx != '02'" style="align-items: center;color:#22B7F2;font-size:12px;" @click="handleToHuzhu(item,index)"><img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 3px;">设为户主</van-button> | |||||
</template> | </template> | ||||
</van-swipe-cell> | </van-swipe-cell> | ||||
<van-dialog v-model="guohuData.visible" title="成员移户" show-cancel-button confirmButtonText="确认" cancelButtonText="关闭" @confirm="guohu" @cancel="show=false"> | <van-dialog v-model="guohuData.visible" title="成员移户" show-cancel-button confirmButtonText="确认" cancelButtonText="关闭" @confirm="guohu" @cancel="show=false"> | ||||
@@ -84,13 +84,12 @@ | |||||
</template> | </template> | ||||
<template #default> | <template #default> | ||||
<van-circle | <van-circle | ||||
v-model="item.reportZrzNumber" | |||||
:rate="item.reportNhNumber" | |||||
:current-rate="item.zjdwcsl" | |||||
rate="item.zjdsl" | |||||
:stroke-width="100" | :stroke-width="100" | ||||
:speed="100" | :speed="100" | ||||
size="70%" | size="70%" | ||||
layer-color="#ebedf0" | layer-color="#ebedf0" | ||||
:color="chooseColor(item)" | |||||
:text="item.zjdwcsl!=0?(item.zjdwcsl == item.zjdsl?100+'%':(((item.zjdwcsl/item.zjdsl)*100).toFixed(2))+'%'):0+'%'" | :text="item.zjdwcsl!=0?(item.zjdwcsl == item.zjdsl?100+'%':(((item.zjdwcsl/item.zjdsl)*100).toFixed(2))+'%'):0+'%'" | ||||
/> | /> | ||||
</template> | </template> | ||||
@@ -118,13 +117,12 @@ | |||||
<template #default> | <template #default> | ||||
<van-circle | <van-circle | ||||
v-model="item.reportZrzNumber" | |||||
:rate="item.reportNhNumber" | |||||
:current-rate="item.zjdwcsl" | |||||
rate="item.zjdsl" | |||||
:stroke-width="100" | :stroke-width="100" | ||||
:speed="100" | :speed="100" | ||||
size="70%" | size="70%" | ||||
layer-color="#ebedf0" | layer-color="#ebedf0" | ||||
:color="chooseColor(item)" | |||||
:text="item.zjdwcsl!=0?(item.zjdwcsl == item.zjdsl?100+'%':(((item.zjdwcsl/item.zjdsl)*100).toFixed(2))+'%'):0+'%'" | :text="item.zjdwcsl!=0?(item.zjdwcsl == item.zjdsl?100+'%':(((item.zjdwcsl/item.zjdsl)*100).toFixed(2))+'%'):0+'%'" | ||||
/> | /> | ||||
</template> | </template> | ||||
@@ -150,13 +148,12 @@ | |||||
</template> | </template> | ||||
<template #default> | <template #default> | ||||
<van-circle | <van-circle | ||||
v-model="item.reportZrzNumber" | |||||
:rate="item.reportNhNumber" | |||||
:current-rate="item.zjdwcsl" | |||||
rate="item.zjdsl" | |||||
:stroke-width="100" | :stroke-width="100" | ||||
:speed="100" | :speed="100" | ||||
size="70%" | size="70%" | ||||
layer-color="#ebedf0" | layer-color="#ebedf0" | ||||
:color="chooseColor(item)" | |||||
:text="item.zjdwcsl!=0?(item.zjdwcsl == item.zjdsl?100+'%':(((item.zjdwcsl/item.zjdsl)*100).toFixed(2))+'%'):0+'%'" | :text="item.zjdwcsl!=0?(item.zjdwcsl == item.zjdsl?100+'%':(((item.zjdwcsl/item.zjdsl)*100).toFixed(2))+'%'):0+'%'" | ||||
/> | /> | ||||
</template> | </template> | ||||
@@ -172,7 +169,7 @@ | |||||
</template> | </template> | ||||
<script> | <script> | ||||
import {addTask, complete, delTask, exportTask, getTask, listTask,getTownInfo, publish, updateTask, userList} from "@/api/homesteadSurvey/index"; | |||||
import {listTask,mobileList,getTownInfo, publish, updateTask, userList} from "@/api/homesteadSurvey/index"; | |||||
import {changeDept} from "@/api/homesteadSurvey/zjdzd"; | import {changeDept} from "@/api/homesteadSurvey/zjdzd"; | ||||
import {getInfo} from "../../api/login"; | import {getInfo} from "../../api/login"; | ||||
import CircleProccess from "@/components/circleProccess.vue"; | import CircleProccess from "@/components/circleProccess.vue"; | ||||
@@ -217,12 +214,6 @@ | |||||
rwfbzt:"PUBLISHED", | rwfbzt:"PUBLISHED", | ||||
rwzxr:null | rwzxr:null | ||||
}, | }, | ||||
// 切换查询参数 | |||||
switchParams: { | |||||
rwwczt: null, | |||||
rwfbzt:"PUBLISHED", | |||||
rwzxr:null | |||||
}, | |||||
nickName:"", | nickName:"", | ||||
text:0, | text:0, | ||||
isLoadingtask:false, | isLoadingtask:false, | ||||
@@ -246,8 +237,8 @@ | |||||
this.$set(this.queryParams, "params", {deptId:100}); | this.$set(this.queryParams, "params", {deptId:100}); | ||||
this.getList(); | this.getList(); | ||||
},1000) | },1000) | ||||
}else{ | }else{ | ||||
this.$set(this.queryParams, "rwzxr", null); | this.$set(this.queryParams, "rwzxr", null); | ||||
this.getList(); | this.getList(); | ||||
} | } | ||||
@@ -292,13 +283,9 @@ | |||||
this.$router.push({name:'homesteadList'}) | this.$router.push({name:'homesteadList'}) | ||||
}); | }); | ||||
}, | }, | ||||
chooseValue(item){ | |||||
let a = ((item.confirmZjdzdNumber/item.reportZjdzdNumber)*100).toFixed() | |||||
return a | |||||
}, | |||||
chooseColor(item){ | chooseColor(item){ | ||||
let a = ((item.confirmZjdzdNumber/item.reportZjdzdNumber)*100).toFixed() | |||||
if(a < 50){ | |||||
let a = ((item.zjdwcsl/item.zjdsl)*100).toFixed() | |||||
if(a === "NaN" || a < 50){ | |||||
return '#FA5353' | return '#FA5353' | ||||
}else if(a < 100){ | }else if(a < 100){ | ||||
return '#22B7F2' | return '#22B7F2' | ||||
@@ -308,8 +295,8 @@ | |||||
return '#FA5353' | return '#FA5353' | ||||
}, | }, | ||||
chooseColor2(item){ | chooseColor2(item){ | ||||
let a = ((item.confirmZjdzdNumber/item.reportZjdzdNumber)*100).toFixed() | |||||
if(a < 50){ | |||||
let a = ((item.zjdwcsl/item.zjdsl)*100).toFixed() | |||||
if(a === "NaN" || a < 50){ | |||||
return 'rgba(250,83,83,0.22)' | return 'rgba(250,83,83,0.22)' | ||||
}else if(a < 100){ | }else if(a < 100){ | ||||
return 'rgba(34,183,242,0.22)' | return 'rgba(34,183,242,0.22)' | ||||
@@ -329,6 +316,9 @@ | |||||
"pageNum": this.countyhc+1, | "pageNum": this.countyhc+1, | ||||
"pageSize":4, | "pageSize":4, | ||||
} | } | ||||
if(this.queryParams.rwzxr != null){ | |||||
params.rwzxr = this.queryParams.rwzxr; | |||||
} | |||||
listTask(params).then((response) => { | listTask(params).then((response) => { | ||||
if(response.rows.length>0&&this.totalList.length<response.total){ | if(response.rows.length>0&&this.totalList.length<response.total){ | ||||
response.rows.map(res => { | response.rows.map(res => { | ||||
@@ -349,6 +339,9 @@ | |||||
"pageNum": this.countwhc+1, | "pageNum": this.countwhc+1, | ||||
"pageSize":4, | "pageSize":4, | ||||
} | } | ||||
if(this.queryParams.rwzxr != null){ | |||||
params.rwzxr = this.queryParams.rwzxr; | |||||
} | |||||
listTask(params).then((response) => { | listTask(params).then((response) => { | ||||
if(response.rows.lenght>0&&this.doneList.length<response.total){ | if(response.rows.lenght>0&&this.doneList.length<response.total){ | ||||
response.rows.map(res => { | response.rows.map(res => { | ||||
@@ -369,6 +362,9 @@ | |||||
"pageNum": this.countqb+1, | "pageNum": this.countqb+1, | ||||
"pageSize":4, | "pageSize":4, | ||||
} | } | ||||
if(this.queryParams.rwzxr != null){ | |||||
params.rwzxr = this.queryParams.rwzxr; | |||||
} | |||||
listTask(params).then((response) => { | listTask(params).then((response) => { | ||||
if(response.rows.length>0&&this.todoList.length<response.total){ | if(response.rows.length>0&&this.todoList.length<response.total){ | ||||
response.rows.map(res => { | response.rows.map(res => { | ||||
@@ -391,7 +387,6 @@ | |||||
this.$set(this.queryParams, "rwzxr", null); | this.$set(this.queryParams, "rwzxr", null); | ||||
this.getList(); | this.getList(); | ||||
} | } | ||||
this.queryNum(); | |||||
}, | }, | ||||
setCookies(item){ | setCookies(item){ | ||||
/* if(this.$cookies.get("upload")==null||this.$cookies.get("upload")==0){ | /* if(this.$cookies.get("upload")==null||this.$cookies.get("upload")==0){ | ||||
@@ -412,7 +407,7 @@ | |||||
this.$cookies.set("item",JSON.stringify(item)); | this.$cookies.set("item",JSON.stringify(item)); | ||||
}*/ | }*/ | ||||
let userId = this.$store.state.user.userId; | let userId = this.$store.state.user.userId; | ||||
let businessLevel = this.$store.getters.businessLevel; | |||||
// let businessLevel = this.$store.getters.businessLevel; | |||||
let status = false; | let status = false; | ||||
if(item.rwzxrIds != null && item.rwzxrIds !== ""){ | if(item.rwzxrIds != null && item.rwzxrIds !== ""){ | ||||
let ids = item.rwzxrIds.split(","); | let ids = item.rwzxrIds.split(","); | ||||
@@ -422,7 +417,7 @@ | |||||
} | } | ||||
}); | }); | ||||
} | } | ||||
if(businessLevel === "1" && status){ | |||||
if(status){ | |||||
localStorage.setItem("surveyItem",JSON.stringify(item)); | localStorage.setItem("surveyItem",JSON.stringify(item)); | ||||
this.qiehuan(item.deptId); | this.qiehuan(item.deptId); | ||||
}else{ | }else{ | ||||
@@ -442,113 +437,66 @@ | |||||
xzChange(val){ | xzChange(val){ | ||||
this.deptName = val.deptName; | this.deptName = val.deptName; | ||||
this.showDropList = false; | this.showDropList = false; | ||||
this.$set(this.queryParams, "deptId", null); | |||||
if(val.deptId != 100){ | if(val.deptId != 100){ | ||||
this.$set(this.queryParams, "parentId", val.deptId); | this.$set(this.queryParams, "parentId", val.deptId); | ||||
this.$set(this.switchParams, "parentId", val.deptId); | |||||
this.$set(this.queryParams, "params", {deptId:null}); | |||||
}else{ | }else{ | ||||
this.$set(this.queryParams, "parentId", null); | this.$set(this.queryParams, "parentId", null); | ||||
this.$set(this.switchParams, "parentId", null); | |||||
this.$set(this.queryParams, "params", {deptId:val.deptId}); | |||||
} | } | ||||
this.getList(); | this.getList(); | ||||
this.queryNum(); | |||||
}, | }, | ||||
checkBadge(){ | checkBadge(){ | ||||
this.finished = false; | this.finished = false; | ||||
this.loading = false; | this.loading = false; | ||||
this.countqb = 1; | |||||
this.countyhc = 1; | |||||
this.countwhc = 1; | |||||
this.totalList = [] | this.totalList = [] | ||||
this.doneList = []; | this.doneList = []; | ||||
this.todoList = []; | this.todoList = []; | ||||
this.getList(); | this.getList(); | ||||
this.queryNum(); | |||||
}, | |||||
queryNum(){ | |||||
if(this.checked){ | |||||
let userId = this.$store.state.user.userId; | |||||
this.$set(this.switchParams, "rwzxr", userId); | |||||
listTask(this.switchParams).then(response => { | |||||
this.done = 0; | |||||
this.todo = 0; | |||||
this.total = response.total; | |||||
response.rows.map(res => { | |||||
if(res.rwwczt == "FINISHED"){ | |||||
this.done+=1 | |||||
}else{ | |||||
this.todo+=1 | |||||
} | |||||
// if(res.rwzxr!=null&&res.rwzxr!=''){ | |||||
// res.rwzxr = res.rwzxr.split(',') | |||||
}) | |||||
}); | |||||
}else{ | |||||
this.$set(this.switchParams, "rwzxr", null); | |||||
if(this.switchParams.parentId == null){ | |||||
this.$set(this.switchParams, "params", {deptId:100}); | |||||
} | |||||
listTask(this.switchParams).then(response => { | |||||
this.done = 0; | |||||
this.todo = 0; | |||||
this.total = response.total; | |||||
console.info(this.total) | |||||
response.rows.map(res => { | |||||
if(res.rwwczt == "FINISHED"){ | |||||
this.done+=1 | |||||
}else{ | |||||
this.todo+=1 | |||||
} | |||||
}) | |||||
}); | |||||
} | |||||
}, | }, | ||||
getList() { | getList() { | ||||
this.totalList = [] | this.totalList = [] | ||||
this.doneList = []; | this.doneList = []; | ||||
this.todoList = []; | this.todoList = []; | ||||
this.countqb = 1; | |||||
this.countyhc = 1; | |||||
this.countwhc = 1; | |||||
this.finished = false; | |||||
this.loading = false; | |||||
if(this.active==1) { | if(this.active==1) { | ||||
this.$set(this.queryParams, "rwfbzt", "PUBLISHED"); | this.$set(this.queryParams, "rwfbzt", "PUBLISHED"); | ||||
this.$set(this.queryParams, "rwwczt", null); | this.$set(this.queryParams, "rwwczt", null); | ||||
this.$set(this.queryParams, "pageNum", this.countyhc); | this.$set(this.queryParams, "pageNum", this.countyhc); | ||||
this.$set(this.queryParams, "pageSize", 4); | this.$set(this.queryParams, "pageSize", 4); | ||||
mobileList(this.queryParams).then(response => { | |||||
this.done = response.wcs; | |||||
this.todo = response.dcs; | |||||
this.total = response.tableDataInfo.total; | |||||
this.totalList = response.tableDataInfo.rows; | |||||
}); | |||||
}else if(this.active==2) { | }else if(this.active==2) { | ||||
this.$set(this.queryParams, "rwwczt", "FINISHED"); | this.$set(this.queryParams, "rwwczt", "FINISHED"); | ||||
this.$set(this.queryParams, "rwfbzt", "PUBLISHED"); | this.$set(this.queryParams, "rwfbzt", "PUBLISHED"); | ||||
this.$set(this.queryParams, "pageNum", this.countwhc); | this.$set(this.queryParams, "pageNum", this.countwhc); | ||||
mobileList(this.queryParams).then(response => { | |||||
this.total = response.wcs; | |||||
this.todo = response.dcs; | |||||
this.done = response.tableDataInfo.total; | |||||
this.doneList = response.tableDataInfo.rows; | |||||
}); | |||||
}else{ | }else{ | ||||
this.$set(this.queryParams, "rwwczt", "UNFINISHED"); | this.$set(this.queryParams, "rwwczt", "UNFINISHED"); | ||||
this.$set(this.queryParams, "rwfbzt", "PUBLISHED"); | this.$set(this.queryParams, "rwfbzt", "PUBLISHED"); | ||||
this.$set(this.queryParams, "pageNum", this.countqb); | this.$set(this.queryParams, "pageNum", this.countqb); | ||||
mobileList(this.queryParams).then(response => { | |||||
this.total = response.wcs; | |||||
this.done = response.dcs; | |||||
this.todo = response.tableDataInfo.total; | |||||
this.todoList = response.tableDataInfo.rows; | |||||
}); | |||||
} | } | ||||
listTask(this.queryParams).then(response => { | |||||
if(this.active==1) { | |||||
this.done = 0; | |||||
this.todo = 0; | |||||
this.total = response.total; | |||||
} | |||||
response.rows.map(res => { | |||||
console.info(this.active); | |||||
if(this.active==1) { | |||||
if(res.rwwczt == "FINISHED"){ | |||||
this.done+=1 | |||||
this.doneList.push(res); | |||||
}else{ | |||||
this.todo+=1 | |||||
this.todoList.push(res); | |||||
} | |||||
// if(res.rwzxr!=null&&res.rwzxr!=''){ | |||||
// res.rwzxr = res.rwzxr.split(',') | |||||
// } | |||||
this.totalList = response.rows; | |||||
}else if(this.active==2) { | |||||
this.doneList.push(res); | |||||
}else{ | |||||
this.todoList.push(res); | |||||
} | |||||
}) | |||||
}); | |||||
}, | }, | ||||
gotoLink(){ | gotoLink(){ | ||||
this.$router.push('/homesteadSurvey/settle') | this.$router.push('/homesteadSurvey/settle') | ||||
@@ -78,32 +78,37 @@ | |||||
:immediate-check="false" | :immediate-check="false" | ||||
@load="onRefreshzjd" | @load="onRefreshzjd" | ||||
> | > | ||||
<van-cell v-for="(item,index) in list1" :key="index" size="small" :clickable="true" style="border-radius: 16px; | |||||
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:95%;margin:15px auto 0;"> | |||||
<template #title> | |||||
<div style="display: flex;align-items: center;"> | |||||
<p style="display: flex;align-items: center;" > | |||||
<img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 5px;"> | |||||
<span style="line-height: 1;">{{limitWords(item.shyqrdbxm)}}</span> | |||||
</p> | |||||
<p v-if="item.surveyStatus == '5' || item.surveyStatus == '3'" style="display: flex;align-items: center;color:#22B7F2;font-size:12px;margin-left: auto;margin-right: 10px;border-bottom: 1px dashed #22B7F2;" @click="queryDetail(item)"><img src="../../assets/images/housesteadSurvey/list06.png" alt="" style="margin-right: 3px;">详情</p> | |||||
<!-- <p v-if="item.zjdAudit=='0'" style="color:#ff976a;background:rgba(255,151,106,0.2);font-size:12px;padding: 5px;line-height: 1;border-radius: 5px;">待审核</p>--> | |||||
<!-- <p v-if="item.zjdAudit=='1'" style="color:#7AC943;background:rgba(122,201,67,0.2);font-size:12px;padding: 5px;line-height: 1;border-radius: 5px;">已审核</p>--> | |||||
<!-- <p v-if="item.zjdAudit=='2'" style="color:#ee0a24;font-size:12px;">已驳回</p>--> | |||||
<p v-if="item.surveyStatus != '5' && item.surveyStatus != '3'" style="display: flex;align-items: center;color:#22B7F2;font-size:12px;margin-left: auto;margin-right: 10px;border-bottom: 1px dashed #22B7F2;" @click="setCookies(item)"><img src="../../assets/images/housesteadSurvey/list07.png" alt="" style="margin-right: 3px;">调查</p> | |||||
<p style="margin-right: 3%;color:#22B7F2;font-size:12px;" ><van-icon name="photo-o" size=".4rem" style="bottom: -3px;" color="#000000" @click="showUploadList(item.id)"/> 附件</p> | |||||
<p style="display: flex;align-items: center;color:#FA5353;font-size:12px;border-bottom: 1px dashed #FA5353;" @click="deleteZjd(item,index)"><img src="../../assets/images/housesteadSurvey/list08.png" alt="" style="margin-right: 3px;">删除</p> | |||||
<van-swipe-cell v-for="(item,index) in list1" :key="index" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:95%;margin:5px auto 0;background:#fff;"> | |||||
<div style="padding:10px;"> | |||||
<div style="display: flex;align-items: center;"> | |||||
<p style="display: flex;align-items: center;" > | |||||
<img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 5px;"> | |||||
<span style="line-height: 1;">{{limitWords(item.shyqrdbxm)}}</span> | |||||
</p> | |||||
<p v-if="item.surveyStatus == '5' || item.surveyStatus == '3'" style="display: flex;align-items: center;color:#22B7F2;font-size:12px;margin-left: auto;margin-right: 10px;" @click="queryDetail(item)"><img src="../../assets/images/housesteadSurvey/list06.png" alt="" style="margin-right: 3px;">详情</p> | |||||
<!-- <p v-if="item.zjdAudit=='0'" style="color:#ff976a;background:rgba(255,151,106,0.2);font-size:12px;padding: 5px;line-height: 1;border-radius: 5px;">待审核</p>--> | |||||
<!-- <p v-if="item.zjdAudit=='1'" style="color:#7AC943;background:rgba(122,201,67,0.2);font-size:12px;padding: 5px;line-height: 1;border-radius: 5px;">已审核</p>--> | |||||
<!-- <p v-if="item.zjdAudit=='2'" style="color:#ee0a24;font-size:12px;">已驳回</p>--> | |||||
<p v-if="item.surveyStatus != '5' && item.surveyStatus != '3'" style="display: flex;align-items: center;color:#22B7F2;font-size:12px;margin-left: auto;margin-right: 10px;" @click="setCookies(item)"><img src="../../assets/images/housesteadSurvey/list07.png" alt="" style="margin-right: 3px;">调查</p> | |||||
</div> | |||||
<!--<template #default> | |||||
<van-button v-if="item.houseDataConfirmStatus=='CONFIRMED'" plain round color="#7AC943" size="mini" style="vertical-align:middle;margin-top:15px;">查看详情</van-button> | |||||
<van-button v-if="item.houseDataConfirmStatus!='CONFIRMED'"plain round color="#FA5353" size="mini" style="vertical-align:middle;margin-top:15px;">开始调查</van-button> | |||||
</template>--> | |||||
<p style="display: flex;align-items: center;margin-top: 10px;"><img src="../../assets/images/housesteadSurvey/list04.png" alt="" style="margin-right: 5px;">宅基地代码: {{item.zjddm}} </p> | |||||
<p style="display: flex;align-items: center;margin-top: 5px;"><img src="../../assets/images/housesteadSurvey/list05.png" alt="" style="margin-right: 5px;">宗地面积: {{item.zdmj}}㎡<span style="margin-left: auto;color: #333333;" v-if="item.surveyStatus != '1'">调查员:{{item.surveyBy}}</span></p> | |||||
</div> | </div> | ||||
<template #right> | |||||
<van-row> | |||||
<van-col> | |||||
<van-button square type="info" class="delete-button" @click="showUploadList(item.id)"><van-icon name="photo-o" size=".4rem" style="bottom: -3px;" color="#000000" @click="showUploadList(item.id)"/> 附件</van-button> | |||||
</van-col> | |||||
<van-col> | |||||
<van-button square type="danger" class="delete-button" @click="showUploadList(item.id)"><img width="10px" src="../../assets/images/sunVillage_info/list_icon_7.png" alt=""> 删除</van-button> | |||||
</van-col> | |||||
</van-row> | |||||
</template> | </template> | ||||
<!--<template #default> | |||||
<van-button v-if="item.houseDataConfirmStatus=='CONFIRMED'" plain round color="#7AC943" size="mini" style="vertical-align:middle;margin-top:15px;">查看详情</van-button> | |||||
<van-button v-if="item.houseDataConfirmStatus!='CONFIRMED'"plain round color="#FA5353" size="mini" style="vertical-align:middle;margin-top:15px;">开始调查</van-button> | |||||
</template>--> | |||||
<template #label> | |||||
<p style="display: flex;align-items: center;margin-top: 10px;"><img src="../../assets/images/housesteadSurvey/list04.png" alt="" style="margin-right: 5px;">宅基地代码: {{item.zjddm}} </p> | |||||
<p style="display: flex;align-items: center;margin-top: 5px;"><img src="../../assets/images/housesteadSurvey/list05.png" alt="" style="margin-right: 5px;">宗地面积: {{item.zdmj}}㎡<span style="margin-left: auto;color: #333333;" v-if="item.surveyStatus != '1'">调查员:{{item.surveyBy}}</span></p> | |||||
</template> | |||||
</van-cell> | |||||
</van-swipe-cell> | |||||
</van-list> | </van-list> | ||||
<!--</van-pull-refresh>--> | <!--</van-pull-refresh>--> | ||||
</van-tab> | </van-tab> | ||||
@@ -112,7 +117,7 @@ | |||||
</template> | </template> | ||||
<script> | <script> | ||||
import {rhhcList,getQueryLand,getZjdzd,delZjdzd,uploadFile,submitUploadImageList} from "@/api/homesteadSurvey/zjdzd"; | |||||
import {rhhcList,getQueryLand,listZjdzd,getZjdzd,delZjdzd,uploadFile,submitUploadImageList} from "@/api/homesteadSurvey/zjdzd"; | |||||
import {addNh, delNh, exportNh, getNh, listNh, updateNh,setNhInfo} from "@/api/homesteadSurvey/nh"; | import {addNh, delNh, exportNh, getNh, listNh, updateNh,setNhInfo} from "@/api/homesteadSurvey/nh"; | ||||
import {addNhhncy, delNhhncy, exportNhhncy, getNhhncy, listNhhncy, updateNhhncy} from "@/api/homesteadSurvey/nhhncy"; | import {addNhhncy, delNhhncy, exportNhhncy, getNhhncy, listNhhncy, updateNhhncy} from "@/api/homesteadSurvey/nhhncy"; | ||||
import {listShyqr,setSyqrInfo} from "@/api/homesteadSurvey/shyqr"; | import {listShyqr,setSyqrInfo} from "@/api/homesteadSurvey/shyqr"; | ||||
@@ -321,18 +326,6 @@ | |||||
mounted(){ | mounted(){ | ||||
}, | }, | ||||
created(){ | created(){ | ||||
axios.get('../static/dictyType.json').then(res => { | |||||
this.dictTypeList = res.data | |||||
this.zjlxOptions = this.dictTypeList.zjlx; | |||||
this.suyqxzOptions = this.dictTypeList.qsxz; | |||||
this.sjlyOptions = this.dictTypeList.sjly; | |||||
this.hyzkOptions = this.dictTypeList.hyzk; | |||||
this.occupationOptions = this.dictTypeList.occupation; | |||||
this.jzqkOptions = this.dictTypeList.living_condition; | |||||
this.jzhcssfyzfOptions = this.dictTypeList.jzhcssfyzf; | |||||
this.cybzOptions = this.dictTypeList.member_remark; | |||||
}) | |||||
this.getDicts("survey_status").then(response => { | this.getDicts("survey_status").then(response => { | ||||
var arr = []; | var arr = []; | ||||
response.data.forEach(function (item) { | response.data.forEach(function (item) { | ||||
@@ -346,7 +339,6 @@ | |||||
this.surveyStatusOptions = arr; | this.surveyStatusOptions = arr; | ||||
}); | }); | ||||
this.getList(); | this.getList(); | ||||
this.getSyqr(); | |||||
// this.getDicts("family_status").then(response => { | // this.getDicts("family_status").then(response => { | ||||
// var arr = []; | // var arr = []; | ||||
// response.data.forEach(function (item) { | // response.data.forEach(function (item) { | ||||
@@ -406,23 +398,8 @@ | |||||
}, | }, | ||||
methods: { | methods: { | ||||
getList(){ | getList(){ | ||||
let params = { | |||||
"surveyStatus":"1", | |||||
"pageNum": 1, | |||||
"pageSize":10, | |||||
} | |||||
rhhcList(params).then(res => { | |||||
rhhcList({}).then(res => { | |||||
this.list1 = res.data.zjdzdxxList; | this.list1 = res.data.zjdzdxxList; | ||||
if(res.data.zjdzdxxList.length>0&&res.data.zjdzdxxList.length<res.data.zjdzs){ | |||||
this.loading2 = false | |||||
this.finished2 = false; | |||||
}else{ | |||||
this.loading2 = false | |||||
this.finished2 = true | |||||
} | |||||
}); | |||||
rhhcList({surveyStatus:"1,2,3,4,5"}).then(res => { | |||||
this.whcNums = res.data.wdcs; | this.whcNums = res.data.wdcs; | ||||
this.hcycNums = res.data.dcycs; | this.hcycNums = res.data.dcycs; | ||||
this.hcwcNums = res.data.dcwcs; | this.hcwcNums = res.data.dcwcs; | ||||
@@ -430,6 +407,13 @@ | |||||
this.spbhNums = res.data.dcbhs; | this.spbhNums = res.data.dcbhs; | ||||
this.totalH = res.data.zjdzs; | this.totalH = res.data.zjdzs; | ||||
this.totalR = res.data.shyqrs; | this.totalR = res.data.shyqrs; | ||||
if(res.data.zjdzdxxList.length>0&&res.data.zjdzdxxList.length<res.data.zjdzs){ | |||||
this.loading2 = false | |||||
this.finished2 = false; | |||||
}else{ | |||||
this.loading2 = false | |||||
this.finished2 = true | |||||
} | |||||
}); | }); | ||||
}, | }, | ||||
showUploadList(id){ | showUploadList(id){ | ||||
@@ -790,9 +774,9 @@ | |||||
"pageNum": this.countyhc+1, | "pageNum": this.countyhc+1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
rhhcList(params).then((response) => { | |||||
if(response.data.zjdzdxxList.length>0&&this.list2.length<response.data.zjdzs){ | |||||
response.data.zjdzdxxList.map(res => { | |||||
listZjdzd(params).then((response) => { | |||||
if(response.rows.length>0&&this.list1.length<response.total){ | |||||
response.rows.map(res => { | |||||
_this.list1.push(res) | _this.list1.push(res) | ||||
}) | }) | ||||
this.countyhc++ | this.countyhc++ | ||||
@@ -809,9 +793,9 @@ | |||||
"pageNum": this.countyhc+1, | "pageNum": this.countyhc+1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
rhhcList(params).then((response) => { | |||||
if(response.data.zjdzdxxList.length>0&&this.list1.length<response.data.zjdzs){ | |||||
response.data.zjdzdxxList.map(res => { | |||||
listZjdzd(params).then((response) => { | |||||
if(response.rows.length>0&&this.list1.length<response.total){ | |||||
response.rows.map(res => { | |||||
_this.list1.push(res) | _this.list1.push(res) | ||||
}) | }) | ||||
this.countyhc++ | this.countyhc++ | ||||
@@ -827,9 +811,9 @@ | |||||
"pageNum": this.countyhc+1, | "pageNum": this.countyhc+1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
rhhcList(params).then((response) => { | |||||
if(response.data.zjdzdxxList.length>0&&this.list1.length<response.data.zjdzs){ | |||||
response.data.zjdzdxxList.map(res => { | |||||
listZjdzd(params).then((response) => { | |||||
if(response.rows.length>0&&this.list1.length<response.total){ | |||||
response.rows.map(res => { | |||||
_this.list1.push(res) | _this.list1.push(res) | ||||
}) | }) | ||||
this.countyhc++ | this.countyhc++ | ||||
@@ -845,9 +829,9 @@ | |||||
"pageNum": this.countyhc+1, | "pageNum": this.countyhc+1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
rhhcList(params).then((response) => { | |||||
if(response.data.zjdzdxxList.length>0&&this.list1.length<response.data.zjdzs){ | |||||
response.data.zjdzdxxList.map(res => { | |||||
listZjdzd(params).then((response) => { | |||||
if(response.rows.length>0&&this.list1.length<response.total){ | |||||
response.rows.map(res => { | |||||
_this.list1.push(res) | _this.list1.push(res) | ||||
}) | }) | ||||
this.countyhc++ | this.countyhc++ | ||||
@@ -863,9 +847,9 @@ | |||||
"pageNum": this.countyhc+1, | "pageNum": this.countyhc+1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
rhhcList(params).then((response) => { | |||||
if(response.data.zjdzdxxList.length>0&&this.list1.length<response.data.zjdzs){ | |||||
response.data.zjdzdxxList.map(res => { | |||||
listZjdzd(params).then((response) => { | |||||
if(response.rows.length>0&&this.list1.length<response.total){ | |||||
response.rows.map(res => { | |||||
_this.list1.push(res) | _this.list1.push(res) | ||||
}) | }) | ||||
this.countyhc++ | this.countyhc++ | ||||
@@ -880,7 +864,7 @@ | |||||
let params = { | let params = { | ||||
"deptId" : this.item.deptId, | "deptId" : this.item.deptId, | ||||
"pageNum": 1, | "pageNum": 1, | ||||
"pageSize":10, | |||||
"pageSize":6, | |||||
} | } | ||||
listNh(params).then((response) => { | listNh(params).then((response) => { | ||||
if(response.rows.length>=0){ | if(response.rows.length>=0){ | ||||
@@ -899,7 +883,7 @@ | |||||
let params = { | let params = { | ||||
"deptId" : this.item.deptId, | "deptId" : this.item.deptId, | ||||
"pageNum": this.countnh+1, | "pageNum": this.countnh+1, | ||||
"pageSize":10, | |||||
"pageSize":6, | |||||
} | } | ||||
listNh(params).then((response) => { | listNh(params).then((response) => { | ||||
if(response.rows.length>0&&this.nhlist.length<response.total){ | if(response.rows.length>0&&this.nhlist.length<response.total){ | ||||
@@ -941,10 +925,19 @@ | |||||
// 入户核查搜索框新增。 | // 入户核查搜索框新增。 | ||||
onClickzjd(){ | onClickzjd(){ | ||||
this.$cookies.remove("search"); | this.$cookies.remove("search"); | ||||
localStorage.setItem("zjdzdxxItem",JSON.stringify({suyqrdm:this.qlrform.suyqrdm,zjddm:null,zjdlyzk:"1",landStatus:"1" | |||||
,houseOwnership:"2",landPhms:"10",isMore:"0",sffz:"0",sfcz:"0" | |||||
,zjdqdfs:"01",sjly:"01",qlsdfs:"1",qllx:"1",qlxz:"203",dj:"1",yt:"01"})); | |||||
this.$router.push({name:'homesteadAdd'}); | |||||
let params = { | |||||
"deptId" : this.$store.state.user.loginDeptId | |||||
} | |||||
listSuyqr(params).then((response) => { | |||||
if(response.rows.length>0){ | |||||
localStorage.setItem("zjdzdxxItem",JSON.stringify({suyqrdm:response.rows[0].suyqrdm,zjddm:null,zjdlyzk:"1",landStatus:"1" | |||||
,houseOwnership:"2",landPhms:"10",isMore:"0",sffz:"0",sfcz:"0" | |||||
,zjdqdfs:"01",sjly:"01",qlsdfs:"1",qllx:"1",qlxz:"203",dj:"1",yt:"072"})); | |||||
this.$router.push({name:'homesteadAdd'}); | |||||
} | |||||
}); | |||||
}, | }, | ||||
// 农户信息搜索框新增。 | // 农户信息搜索框新增。 | ||||
onClicknh(){ | onClicknh(){ | ||||
@@ -1265,13 +1258,6 @@ | |||||
}, | }, | ||||
// 宅基地搜索框 | // 宅基地搜索框 | ||||
onSearchzjd(){ | 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){ | if(this.active==0){ | ||||
let params = { | let params = { | ||||
"shyqrdbxm" : this.zjdvalue, | "shyqrdbxm" : this.zjdvalue, | ||||
@@ -1279,12 +1265,11 @@ | |||||
"pageNum": 1, | "pageNum": 1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
rhhcList(params).then((response) => { | |||||
console.info(this.list2.length); | |||||
listZjdzd(params).then((response) => { | |||||
if (response.code == 200) { | 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.loading2 = false | ||||
this.finished2 = false; | this.finished2 = false; | ||||
}else{ | }else{ | ||||
@@ -1300,12 +1285,11 @@ | |||||
"pageNum": 1, | "pageNum": 1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
rhhcList(params).then((response) => { | |||||
console.info(this.list2.length); | |||||
listZjdzd(params).then((response) => { | |||||
if (response.code == 200) { | 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.loading2 = false | ||||
this.finished2 = false; | this.finished2 = false; | ||||
}else{ | }else{ | ||||
@@ -1321,12 +1305,11 @@ | |||||
"pageNum": 1, | "pageNum": 1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
rhhcList(params).then((response) => { | |||||
console.info(this.list2.length); | |||||
listZjdzd(params).then((response) => { | |||||
if (response.code == 200) { | 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.loading2 = false | ||||
this.finished2 = false; | this.finished2 = false; | ||||
}else{ | }else{ | ||||
@@ -1342,12 +1325,11 @@ | |||||
"pageNum": 1, | "pageNum": 1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
rhhcList(params).then((response) => { | |||||
console.info(this.list2.length); | |||||
listZjdzd(params).then((response) => { | |||||
if (response.code == 200) { | 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.loading2 = false | ||||
this.finished2 = false; | this.finished2 = false; | ||||
}else{ | }else{ | ||||
@@ -1363,11 +1345,11 @@ | |||||
"pageNum": 1, | "pageNum": 1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
rhhcList(params).then((response) => { | |||||
listZjdzd(params).then((response) => { | |||||
if (response.code == 200) { | 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.loading2 = false | ||||
this.finished2 = false; | this.finished2 = false; | ||||
}else{ | }else{ | ||||
@@ -1570,12 +1552,12 @@ | |||||
"pageNum": 1, | "pageNum": 1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
rhhcList(params).then((response) => { | |||||
listZjdzd(params).then((response) => { | |||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.whcNums = response.data.zjdzs; | |||||
this.list1 = response.data.zjdzdxxList; | |||||
this.whcNums = response.total; | |||||
this.list1 = response.rows; | |||||
this.loading2 = false | this.loading2 = false | ||||
if(response.data.zjdzdxxList.length>0&&response.data.zjdzdxxList.length<response.data.zjdzs){ | |||||
if(response.rows.length>0&&response.rows.length<response.total){ | |||||
this.countyhc++ | this.countyhc++ | ||||
this.finished2 = false; | this.finished2 = false; | ||||
}else{ | }else{ | ||||
@@ -1590,12 +1572,12 @@ | |||||
"pageNum": 1, | "pageNum": 1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
rhhcList(params).then((response) => { | |||||
listZjdzd(params).then((response) => { | |||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.hcycNums = response.data.zjdzs; | |||||
this.list1 = response.data.zjdzdxxList; | |||||
this.hcycNums = response.total; | |||||
this.list1 = response.rows; | |||||
this.loading2 = false | this.loading2 = false | ||||
if(response.data.zjdzdxxList.length>0&&response.data.zjdzdxxList.length<response.data.zjdzs){ | |||||
if(response.rows.length>0&&response.rows.length<response.total){ | |||||
this.countyhc++ | this.countyhc++ | ||||
this.finished2 = false; | this.finished2 = false; | ||||
}else{ | }else{ | ||||
@@ -1610,12 +1592,12 @@ | |||||
"pageNum": 1, | "pageNum": 1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
rhhcList(params).then((response) => { | |||||
listZjdzd(params).then((response) => { | |||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.hcwcNums = response.data.zjdzs; | |||||
this.list1 = response.data.zjdzdxxList; | |||||
this.hcwcNums = response.total; | |||||
this.list1 = response.rows; | |||||
this.loading2 = false | this.loading2 = false | ||||
if(response.data.zjdzdxxList.length>0&&response.data.zjdzdxxList.length<response.data.zjdzs){ | |||||
if(response.rows.length>0&&response.rows.length<response.total){ | |||||
this.countyhc++ | this.countyhc++ | ||||
this.finished2 = false; | this.finished2 = false; | ||||
}else{ | }else{ | ||||
@@ -1630,12 +1612,12 @@ | |||||
"pageNum": 1, | "pageNum": 1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
rhhcList(params).then((response) => { | |||||
listZjdzd(params).then((response) => { | |||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.spbhNums = response.data.zjdzs; | |||||
this.list1 = response.data.zjdzdxxList; | |||||
this.spbhNums = response.total; | |||||
this.list1 = response.rows; | |||||
this.loading2 = false | this.loading2 = false | ||||
if(response.data.zjdzdxxList.length>0&&response.data.zjdzdxxList.length<response.data.zjdzs){ | |||||
if(response.rows.length>0&&response.rows.length<response.total){ | |||||
this.countyhc++ | this.countyhc++ | ||||
this.finished2 = false; | this.finished2 = false; | ||||
}else{ | }else{ | ||||
@@ -1650,12 +1632,12 @@ | |||||
"pageNum": 1, | "pageNum": 1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
rhhcList(params).then((response) => { | |||||
listZjdzd(params).then((response) => { | |||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.sptgNums = response.data.zjdzs; | |||||
this.list1 = response.data.zjdzdxxList; | |||||
this.sptgNums = response.total; | |||||
this.list1 = response.rows; | |||||
this.loading2 = false | this.loading2 = false | ||||
if(response.data.zjdzdxxList.length>0&&response.data.zjdzdxxList.length<response.data.zjdzs){ | |||||
if(response.rows.length>0&&response.rows.length<response.total){ | |||||
this.countyhc++ | this.countyhc++ | ||||
this.finished2 = false; | this.finished2 = false; | ||||
}else{ | }else{ | ||||
@@ -5302,6 +5284,15 @@ | |||||
/deep/ .van-swipe-cell__wrapper{ | /deep/ .van-swipe-cell__wrapper{ | ||||
margin-right:-3px; | margin-right:-3px; | ||||
} | } | ||||
/deep/ .delete-button { | |||||
height: 100%; | |||||
} | |||||
/deep/ .van-row{ | |||||
height: 100%; | |||||
} | |||||
/deep/ .van-col{ | |||||
height: 100%; | |||||
} | |||||
.hzlxBtn{ | .hzlxBtn{ | ||||
font-size: 0.3rem; | font-size: 0.3rem; | ||||
display: inline-block; | display: inline-block; | ||||
@@ -68,23 +68,24 @@ | |||||
:immediate-check="false" | :immediate-check="false" | ||||
@load="onRefreshShyqr" | @load="onRefreshShyqr" | ||||
> | > | ||||
<van-cell v-for="(item,index) in nhlist" :key="index" size="small" :clickable="true" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:95%;margin:15px auto 0;"> | |||||
<template #title> | |||||
<div style="display: flex;align-items: center;"> | |||||
<p style="display: flex;align-items: center;"> | |||||
<img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 5px;"> | |||||
<span style="line-height: 1;">{{item.xm}}</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-right: 10px;border-bottom: 1px dashed #22B7F2;" @click="showPopupnh(item)"><img src="../../assets/images/housesteadSurvey/list10.png" alt="" style="margin-right: 3px;">户主</p> | |||||
<p style="display: flex;align-items: center;color:#FA5353;font-size:12px;border-bottom: 1px dashed #FA5353;" @click="deletenh(item,index)"><img src="../../assets/images/housesteadSurvey/list08.png" alt="" style="margin-right: 3px;">删除</p> | |||||
<van-swipe-cell v-for="(item,index) in nhlist" :key="index" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:95%;margin:5px auto 0;background:#fff;"> | |||||
<div style="padding:10px;"> | |||||
<div style="display: flex;align-items: center;"> | |||||
<p style="display: flex;align-items: center;"> | |||||
<img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 5px;"> | |||||
<span style="line-height: 1;">{{item.xm}}</span> | |||||
</p> | |||||
<p style="display: flex;align-items: center;color:#22B7F2;font-size:12px;margin-left: auto;margin-right: 10px;" @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-right: 10px;" @click="showPopupnh(item)"><img src="../../assets/images/housesteadSurvey/list10.png" alt="" style="margin-right: 3px;">户主</p> | |||||
</div> | |||||
<p style="display: flex;align-items: center;margin-top: 10px;"><img src="../../assets/images/housesteadSurvey/list04.png" alt="" style="margin-right: 5px;">证件号码:<span style="margin-left: auto;">{{item.zjhm}}</span> </p> | |||||
<p style="display: flex;align-items: center;margin-top: 5px;"><img src="../../assets/images/housesteadSurvey/list05.png" alt="" style="margin-right: 5px;">农户代码:<span style="margin-left: auto;">{{item.nhdm}}</span></p> | |||||
</div> | </div> | ||||
</template> | |||||
<template #label> | |||||
<p style="display: flex;align-items: center;margin-top: 10px;"><img src="../../assets/images/housesteadSurvey/list04.png" alt="" style="margin-right: 5px;">证件号码:<span style="margin-left: auto;">{{item.zjhm}}</span> </p> | |||||
<p style="display: flex;align-items: center;margin-top: 5px;"><img src="../../assets/images/housesteadSurvey/list05.png" alt="" style="margin-right: 5px;">农户代码:<span style="margin-left: auto;">{{item.nhdm}}</span></p> | |||||
</template> | |||||
</van-cell> | |||||
<template #right> | |||||
<van-button square type="danger" class="delete-button" @click="deletenh(item.id)"><img width="10px" src="../../assets/images/sunVillage_info/list_icon_7.png" alt=""> 删除</van-button> | |||||
</template> | |||||
</van-swipe-cell> | |||||
</van-list> | </van-list> | ||||
<van-dialog v-model="outsideOpen" title="外村农户" show-cancel-button confirmButtonText="保存" cancelButtonText="关闭" @confirm="outsideSubmitForm" @cancel="outsideCancel" > | <van-dialog v-model="outsideOpen" title="外村农户" show-cancel-button confirmButtonText="保存" cancelButtonText="关闭" @confirm="outsideSubmitForm" @cancel="outsideCancel" > | ||||
<wcnhList style="height: 600px;overflow: auto;" ref="wcnh"/> | <wcnhList style="height: 600px;overflow: auto;" ref="wcnh"/> | ||||
@@ -5012,6 +5013,9 @@ | |||||
/deep/ .van-swipe-cell__wrapper{ | /deep/ .van-swipe-cell__wrapper{ | ||||
margin-right:-3px; | margin-right:-3px; | ||||
} | } | ||||
/deep/ .delete-button { | |||||
height: 100%; | |||||
} | |||||
.hzlxBtn{ | .hzlxBtn{ | ||||
font-size: 0.3rem; | font-size: 0.3rem; | ||||
display: inline-block; | display: inline-block; | ||||
@@ -5995,7 +5995,7 @@ | |||||
this.$set(this.mapZjdTeAll.mapZjdAData, "qlsdfs","1"); | this.$set(this.mapZjdTeAll.mapZjdAData, "qlsdfs","1"); | ||||
this.$set(this.mapZjdTeAll.mapZjdAData, "qllx","1"); | this.$set(this.mapZjdTeAll.mapZjdAData, "qllx","1"); | ||||
this.$set(this.mapZjdTeAll.mapZjdAData, "qlxz","203"); | this.$set(this.mapZjdTeAll.mapZjdAData, "qlxz","203"); | ||||
this.$set(this.mapZjdTeAll.mapZjdAData, "yt","01"); | |||||
this.$set(this.mapZjdTeAll.mapZjdAData, "yt","072"); | |||||
this.$set(this.mapZjdTeAll.mapZjdAData, "dj","1"); | this.$set(this.mapZjdTeAll.mapZjdAData, "dj","1"); | ||||
//this.mapZjdTeAll.mapZjdAData.deptId = this.$cookies.get("item").deptId; | //this.mapZjdTeAll.mapZjdAData.deptId = this.$cookies.get("item").deptId; | ||||
@@ -55,7 +55,7 @@ | |||||
<p style="display: flex;align-items: center;"> | <p style="display: flex;align-items: center;"> | ||||
<img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 5px;"> | <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;">{{item.xm}}</span> | ||||
<span style="line-height: 1;font-size: 16px;margin-left: 70%;">{{formatDict(yhzgxList,item.yhzgx)}}</span> | |||||
<span style="line-height: 1;font-size: 16px;margin-left: 68%;">{{formatDict(yhzgxList,item.yhzgx)}}</span> | |||||
</p> | </p> | ||||
<div style="display:flex;line-height:20px;margin-top: 15px;font-size: 14px;color: #999999;"> | <div style="display:flex;line-height:20px;margin-top: 15px;font-size: 14px;color: #999999;"> | ||||
<p style="flex:1;text-align:left;">证件号码:</p> | <p style="flex:1;text-align:left;">证件号码:</p> | ||||
@@ -85,7 +85,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
<template #right> | <template #right> | ||||
<van-button v-if="permission == 'true'" square text="删除" type="danger" class="delete-button" @click="deletehncy(item.id,index)"/> | |||||
<van-button v-if="permission == 'true'" square text="删除" type="danger" class="delete-button" @click="deletehncy(item.id,index)"><img width="10px" src="../../assets/images/sunVillage_info/list_icon_7.png" alt="">删除</van-button> | |||||
</template> | </template> | ||||
</van-swipe-cell> | </van-swipe-cell> | ||||
<van-dialog v-model="guohuData.visible" title="成员移户" show-cancel-button confirmButtonText="确认" cancelButtonText="关闭" @confirm="guohu" @cancel="show=false"> | <van-dialog v-model="guohuData.visible" title="成员移户" show-cancel-button confirmButtonText="确认" cancelButtonText="关闭" @confirm="guohu" @cancel="show=false"> | ||||
@@ -643,7 +643,7 @@ export default { | |||||
// 当前位置信息 | // 当前位置信息 | ||||
tGeoOrganizationLat: null, | tGeoOrganizationLat: null, | ||||
tGeoOrganizationLng: null, | tGeoOrganizationLng: null, | ||||
minDate: new Date(1990, 1, 1), | |||||
minDate: new Date(1950, 1, 1), | |||||
maxDate: new Date(2030, 10, 1), | maxDate: new Date(2030, 10, 1), | ||||
showZgqrzrq:false, | showZgqrzrq:false, | ||||
form:{} | form:{} | ||||
@@ -64,19 +64,22 @@ | |||||
<p style="flex:1;text-align:left;">农户代码:</p> | <p style="flex:1;text-align:left;">农户代码:</p> | ||||
<p style="flex:1;text-align:right;">{{item.nhdm}}</p> | <p style="flex:1;text-align:right;">{{item.nhdm}}</p> | ||||
</div> | </div> | ||||
<div style="text-align:center;overflow:auto;display: flex;justify-content: space-between;margin-top: 10px;"> | |||||
<p style="width:49%;display: flex;align-items: center;justify-content:center;border: 1px solid transparent;background: #22B7F2;padding: 3px 0;border-radius: 50px;" @click="showUploadList(item.id)"> | |||||
<van-icon name="photo-o" size=".4rem" color="#FFFFFF"/> | |||||
<span style="font-size: 14px;color: #fff;margin-left: 5px;">附件</span> | |||||
</p> | |||||
<div style="text-align:center;overflow:auto;display: flex;justify-content: center;margin-top: 10px;"> | |||||
<p style="width:49%;display: flex;align-items: center;justify-content:center;border: 1px solid #22B7F2;padding: 3px 0;border-radius: 50px;" @click="showPopupnmfw(item)"> | <p style="width:49%;display: flex;align-items: center;justify-content:center;border: 1px solid #22B7F2;padding: 3px 0;border-radius: 50px;" @click="showPopupnmfw(item)"> | ||||
<img src="../../assets/images/housesteadSurvey/add02.png" alt=""> | <img src="../../assets/images/housesteadSurvey/add02.png" alt=""> | ||||
<span style="font-size: 14px;color: #22B7F2;margin-left: 5px;">详情</span> | |||||
<span style="font-size: 14px;color: #22B7F2;margin-left: 5px;" >详情</span> | |||||
</p> | </p> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<template #right> | <template #right> | ||||
<van-button v-if="permission == 'true'" square text="删除" type="danger" class="delete-button" @click="deletenmfw(item)"/> | |||||
<van-row> | |||||
<van-col> | |||||
<van-button square type="info" class="delete-button" style="position: relative;" @click="showUploadList(item.id)"><van-icon style="bottom: -3px;" name="photo-o" size=".4rem" color="#FFFFFF"/>附件</van-button> | |||||
</van-col> | |||||
<van-col> | |||||
<van-button v-if="permission == 'true'" square text="删除" type="danger" class="delete-button" @click="deletenmfw(item)"><img width="10px" src="../../assets/images/sunVillage_info/list_icon_7.png" alt="">删除</van-button> | |||||
</van-col> | |||||
</van-row> | |||||
</template> | </template> | ||||
</van-swipe-cell> | </van-swipe-cell> | ||||
<van-popup v-model:show="showImageList" position="bottom" style="height:40vh;padding:50px 10px 0" closeable | <van-popup v-model:show="showImageList" position="bottom" style="height:40vh;padding:50px 10px 0" closeable | ||||
@@ -299,7 +302,7 @@ export default { | |||||
const ids = val.id || this.ids; | const ids = val.id || this.ids; | ||||
Dialog.confirm({ | Dialog.confirm({ | ||||
title: '系统提示', | title: '系统提示', | ||||
message: '是否确认删除农民房屋标识为"' + val.id + '"的数据项?', | |||||
message: '是否确认删除农民房屋数据项?', | |||||
confirmButtonText: '确定', | confirmButtonText: '确定', | ||||
cancelButtonText: '取消' | cancelButtonText: '取消' | ||||
}) | }) | ||||
@@ -338,6 +341,12 @@ export default { | |||||
>>> .delete-button { | >>> .delete-button { | ||||
height: 100%; | height: 100%; | ||||
} | } | ||||
>>> .van-row{ | |||||
height: 100%; | |||||
} | |||||
>>> .van-col{ | |||||
height: 100%; | |||||
} | |||||
>>> .van-swipe-cell__wrapper{ | >>> .van-swipe-cell__wrapper{ | ||||
margin-right:-3px; | margin-right:-3px; | ||||
} | } | ||||
@@ -97,6 +97,8 @@ | |||||
<van-datetime-picker | <van-datetime-picker | ||||
type="date" | type="date" | ||||
:value="new Date" | :value="new Date" | ||||
:min-date="minDate" | |||||
:max-date="maxDate" | |||||
@confirm="onConfirmZgqrzrq" | @confirm="onConfirmZgqrzrq" | ||||
@cancel="showZgqrzrq = false" | @cancel="showZgqrzrq = false" | ||||
/> | /> | ||||
@@ -233,7 +235,7 @@ export default { | |||||
// 当前位置信息 | // 当前位置信息 | ||||
tGeoOrganizationLat: null, | tGeoOrganizationLat: null, | ||||
tGeoOrganizationLng: null, | tGeoOrganizationLng: null, | ||||
minDate: new Date(), | |||||
minDate: new Date(1950,1,1), | |||||
maxDate: new Date(2025, 10, 1), | maxDate: new Date(2025, 10, 1), | ||||
showZgqrzrq:false, | showZgqrzrq:false, | ||||
form:{} | form:{} | ||||
@@ -75,7 +75,7 @@ | |||||
<van-col span="24"><span>延时周期:</span>{{detail.delayPeriod}}秒</van-col> | <van-col span="24"><span>延时周期:</span>{{detail.delayPeriod}}秒</van-col> | ||||
</van-row> | </van-row> | ||||
<van-row v-if="detail.delayPeriod!=0"> | <van-row v-if="detail.delayPeriod!=0"> | ||||
<van-col span="24"><span>延时周期说明:</span>竞价的最后{{detail.delayPeriod}}秒内,任意方出价,距结束时间将延长{{detail.delayPeriod}}秒,直至无人出价为止</van-col> | |||||
<van-col span="24"><span>延时说明:</span>竞价的最后{{detail.delayPeriod}}秒内任意方出价,竞价结束时间将延长至此刻的{{detail.delayPeriod}}秒后,直至无人出价为止。</van-col> | |||||
</van-row> | </van-row> | ||||
</div> | </div> | ||||
</van-tab> | </van-tab> | ||||
@@ -16,7 +16,6 @@ | |||||
<div class="header_main"> | <div class="header_main"> | ||||
纠纷调解 | 纠纷调解 | ||||
<div class="return_btn" @click="onClickLeft"></div> | <div class="return_btn" @click="onClickLeft"></div> | ||||
<div class="add_btn" @click="openMenu"></div> | |||||
</div> | </div> | ||||
<div class="main" style="padding-bottom: 1rem;"> | <div class="main" style="padding-bottom: 1rem;"> | ||||
@@ -30,7 +29,7 @@ | |||||
<van-field v-model="arbitrationData.shyqrdbxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | <van-field v-model="arbitrationData.shyqrdbxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | ||||
<div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | <div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | ||||
<van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | <van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | ||||
{{item.sqrxm}} | |||||
{{item.shyqrdbxm}} | |||||
</van-cell> | </van-cell> | ||||
</div> | </div> | ||||
<van-field | <van-field | ||||
@@ -211,11 +210,10 @@ export default { | |||||
landStatus:"1", | landStatus:"1", | ||||
menuVisible: false, | menuVisible: false, | ||||
mapShow:false, | mapShow:false, | ||||
sysFarmer:JSON.parse(Cookies.get('user')), | |||||
sysFarmer:{}, | |||||
showDropList:false, | showDropList:false, | ||||
menuActions: [ | menuActions: [ | ||||
{name: '调解/冲裁员', route: {name:'arbitrationHandlerList', query: {}}}, | |||||
{name: '处理过程', route: {name:'arbitrationProcessList', query: {}}}, | |||||
{name: '处理过程', route: {name:'arbitrationProcessDetail', query: {}}}, | |||||
] | ] | ||||
}; | }; | ||||
}, | }, | ||||
@@ -223,14 +221,20 @@ export default { | |||||
this.id = this.$route.query.id; | this.id = this.$route.query.id; | ||||
this.type = this.$route.query.type; | this.type = this.$route.query.type; | ||||
this.getFormIntent(); | this.getFormIntent(); | ||||
getShyqrs({shyqrdbzjhm:this.sysFarmer.idcard,status:1}).then((response) => { | |||||
if (response.code == 200) { | |||||
this.shyqrdmxmChange(response.rows[0]); | |||||
this.closeMoule(response.rows[0].zjddm); | |||||
} | |||||
}); | |||||
this.getDetail(); | |||||
this.getUserHouseApplyProposer(); | |||||
if(Cookies.get('user')){ | |||||
this.sysFarmer = JSON.parse(Cookies.get('user')); | |||||
getShyqrs({shyqrdbzjhm:this.sysFarmer.idcard,status:1}).then((response) => { | |||||
if (response.code == 200) { | |||||
if(response.rows.length > 0){ | |||||
this.shyqrdmxmChange(response.rows[0]); | |||||
this.closeMoule(response.rows[0].zjddm); | |||||
} | |||||
} | |||||
}); | |||||
this.getDetail(); | |||||
this.getUserHouseApplyProposer(); | |||||
} | |||||
}, | }, | ||||
computed: { | computed: { | ||||
allowCUD: function () { | allowCUD: function () { | ||||
@@ -409,21 +413,7 @@ export default { | |||||
if (query !== "") { | if (query !== "") { | ||||
getShyqrs({shyqrdbxm:query,status:1}).then((response) => { | getShyqrs({shyqrdbxm:query,status:1}).then((response) => { | ||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.getObligeeOptions = response.rows.map(function (item) { | |||||
return { | |||||
sqrxm:item.shyqrdbxm, | |||||
sqrxb:item.xb, | |||||
sqrzjhm:item.shyqrdbzjhm, | |||||
shyqrdm:item.shyqrdm, | |||||
sqrzjlx:item.shyqrdbzjlx, | |||||
zjddm:item.zjddm, | |||||
sqrdh:item.dh, | |||||
gyfs:item.gyfs, | |||||
dz:item.dz, | |||||
deptId:item.deptId, | |||||
deptName:item.deptName, | |||||
} | |||||
}) | |||||
this.getObligeeOptions = response.rows.filter(function (e) { return !e.shyqrdbxm.includes("村集体"); }); | |||||
//设置模糊查询的下拉框和滚动条 | //设置模糊查询的下拉框和滚动条 | ||||
if (this.getObligeeOptions.length > 0) { | if (this.getObligeeOptions.length > 0) { | ||||
this.showDropList = true; // div显示会阻挡下边的选择框和输入框,showDropList控制下拉框是否显示 | this.showDropList = true; // div显示会阻挡下边的选择框和输入框,showDropList控制下拉框是否显示 | ||||
@@ -451,7 +441,7 @@ export default { | |||||
shyqrdmxmChange(val){ | shyqrdmxmChange(val){ | ||||
this.$set(this.arbitrationData, "shyqrdbxm", val.shyqrdbxm); | this.$set(this.arbitrationData, "shyqrdbxm", val.shyqrdbxm); | ||||
this.$set(this.arbitrationData, "deptId", val.deptId); | this.$set(this.arbitrationData, "deptId", val.deptId); | ||||
this.$set(this.arbitrationData, "deptName", val.deptId); | |||||
this.$set(this.arbitrationData, "deptName", val.deptName); | |||||
this.$set(this.arbitrationData, "shyqrzjhm", val.shyqrdbzjhm); | this.$set(this.arbitrationData, "shyqrzjhm", val.shyqrdbzjhm); | ||||
this.$set(this.arbitrationData, "shyqrzjlx", val.shyqrdbzjlx); | this.$set(this.arbitrationData, "shyqrzjlx", val.shyqrdbzjlx); | ||||
this.$set(this.arbitrationData, "shyqrdm", val.shyqrdm); | this.$set(this.arbitrationData, "shyqrdm", val.shyqrdm); | ||||
@@ -483,7 +473,6 @@ export default { | |||||
this.notify("请标注宅基地位置!", 'danger'); | this.notify("请标注宅基地位置!", 'danger'); | ||||
return; | return; | ||||
}*/ | }*/ | ||||
console.log("进行保存", this.arbitrationData); | |||||
(this.arbitrationData.id ? editArbitration : addArbitration)(this.arbitrationData).then((response) => { | (this.arbitrationData.id ? editArbitration : addArbitration)(this.arbitrationData).then((response) => { | ||||
this.notify("保存成功", 'success'); | this.notify("保存成功", 'success'); | ||||
this.goBack(); | this.goBack(); | ||||
@@ -531,6 +520,7 @@ export default { | |||||
}, | }, | ||||
onActionSelect(a, index) { | onActionSelect(a, index) { | ||||
a.route.query.arbitrationId = this.arbitrationData.id; | a.route.query.arbitrationId = this.arbitrationData.id; | ||||
console.info(a); | |||||
this.$router.push(a.route); | this.$router.push(a.route); | ||||
}, | }, | ||||
}, | }, | ||||
@@ -280,12 +280,12 @@ | |||||
text-overflow: ellipsis; /*超出部分文字以...显示*/ | text-overflow: ellipsis; /*超出部分文字以...显示*/ | ||||
} | } | ||||
.plotPremises_right { | .plotPremises_right { | ||||
width: 98%; | |||||
width: 94%; | |||||
position: fixed; | position: fixed; | ||||
z-index: 1001; | z-index: 1001; | ||||
top: 50%; | top: 50%; | ||||
transform: translateY(-50%); | transform: translateY(-50%); | ||||
right: 0; | |||||
right: 3%; | |||||
display: flex; | display: flex; | ||||
// display: none; | // display: none; | ||||
min-width: 300px; | min-width: 300px; | ||||
@@ -308,9 +308,7 @@ | |||||
// align-items: center; | // align-items: center; | ||||
.area_information { | .area_information { | ||||
// margin-bottom: 3%; | // margin-bottom: 3%; | ||||
flex: 1.5; | |||||
position: relative; | position: relative; | ||||
display: flex; | |||||
.mian { | .mian { | ||||
background: rgba(25, 29, 24, 0.7); | background: rgba(25, 29, 24, 0.7); | ||||
/*background: rgba(255, 255, 255, 0.7);*/ | /*background: rgba(255, 255, 255, 0.7);*/ | ||||
@@ -495,6 +493,7 @@ | |||||
situationW: 70, | situationW: 70, | ||||
//地图判断 | //地图判断 | ||||
openMap: false, | openMap: false, | ||||
showBtn: false, | |||||
mapTheGeomId: null, | mapTheGeomId: null, | ||||
mapTheGeomResourceId: null, | mapTheGeomResourceId: null, | ||||
drawInsert:null, | drawInsert:null, | ||||
@@ -2102,7 +2102,11 @@ export default { | |||||
if(this.type === "todo" || this.type === "done"){ | if(this.type === "todo" || this.type === "done"){ | ||||
this.$set(this.sysFarmer, 'memberName', this.$store.getters.nickName); | this.$set(this.sysFarmer, 'memberName', this.$store.getters.nickName); | ||||
}else{ | }else{ | ||||
this.sysFarmer = JSON.parse(Cookies.get('user')); | |||||
if(Cookies.get('user')){ | |||||
this.sysFarmer = JSON.parse(Cookies.get('user')); | |||||
}else{ | |||||
this.$router.push('/sunVillage_info/login_code') | |||||
} | |||||
} | } | ||||
this.getFormIntent(); | this.getFormIntent(); | ||||
this.getDetail(); | this.getDetail(); | ||||
@@ -24,7 +24,7 @@ | |||||
<van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | <van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | ||||
<div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | <div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | ||||
<van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | <van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | ||||
{{item.sqrxm}} | |||||
{{item.shyqrdbxm}} | |||||
</van-cell> | </van-cell> | ||||
</div> | </div> | ||||
<!-- <van-field--> | <!-- <van-field--> | ||||
@@ -283,7 +283,7 @@ | |||||
<script> | <script> | ||||
import { getShyqrs,dyAdd,zyyctcApply,getByLyZjddm,listHomesteadnmfw} from "@/api/sunVillage_info/homestead/paidExit"; | import { getShyqrs,dyAdd,zyyctcApply,getByLyZjddm,listHomesteadnmfw} from "@/api/sunVillage_info/homestead/paidExit"; | ||||
import HomeApplyUploadComp from "@/components/home/HomeApplyUploadComp"; | |||||
import HomeApplyUploadComp from "@/components/home/HomeApplyUploadCompTc"; | |||||
import FieldSelect from "@/components/form/FieldSelect"; | import FieldSelect from "@/components/form/FieldSelect"; | ||||
import FieldDatePicker from "@/components/form/FieldDatePicker"; | import FieldDatePicker from "@/components/form/FieldDatePicker"; | ||||
import {formatDate} from "element-ui/src/utils/date-util.js"; | import {formatDate} from "element-ui/src/utils/date-util.js"; | ||||
@@ -311,7 +311,7 @@ export default { | |||||
bcfsDictionaries:[],//补偿方式 | bcfsDictionaries:[],//补偿方式 | ||||
zjdDictionaries:[],//宅基地代码 | zjdDictionaries:[],//宅基地代码 | ||||
getObligeeOptions:[],//下拉框列表 | getObligeeOptions:[],//下拉框列表 | ||||
sysFarmer:JSON.parse(Cookies.get('user')), | |||||
sysFarmer:{}, | |||||
tcqllx:'整体退出', | tcqllx:'整体退出', | ||||
tclx:'有偿退出', | tclx:'有偿退出', | ||||
tcfs:'使用权', | tcfs:'使用权', | ||||
@@ -365,13 +365,20 @@ export default { | |||||
}; | }; | ||||
}, | }, | ||||
created() { | created() { | ||||
if(Cookies.get('user')){ | |||||
this.sysFarmer = JSON.parse(Cookies.get('user')); | |||||
getShyqrs({shyqrdbzjhm:this.sysFarmer.idcard,status:1}).then((response) => { | |||||
if (response.code == 200) { | |||||
if(response.rows.length > 0){ | |||||
this.shyqrdmxmChange(response.rows[0]); | |||||
this.closeMoule(response.rows[0].zjddm); | |||||
} | |||||
} | |||||
}); | |||||
}else{ | |||||
this.$router.push('/sunVillage_info/login_code'); | |||||
} | |||||
this.getDictionaries(); | this.getDictionaries(); | ||||
getShyqrs({shyqrdbzjhm:this.sysFarmer.idcard,status:1}).then((response) => { | |||||
if (response.code == 200) { | |||||
this.shyqrdmxmChange(response.rows[0]); | |||||
this.closeMoule(response.rows[0].zjddm); | |||||
} | |||||
}); | |||||
}, | }, | ||||
methods: { | methods: { | ||||
getDictionaries(){ | getDictionaries(){ | ||||
@@ -548,22 +555,10 @@ export default { | |||||
/** 模糊查询人员信息 */ | /** 模糊查询人员信息 */ | ||||
remoteTransfereeMethod(query) { | remoteTransfereeMethod(query) { | ||||
if (query !== "") { | if (query !== "") { | ||||
let _this = this; | |||||
getShyqrs({shyqrdbxm:query,status:1}).then((response) => { | getShyqrs({shyqrdbxm:query,status:1}).then((response) => { | ||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.getObligeeOptions = response.rows.map(function (item) { | |||||
return { | |||||
sqrxm:item.shyqrdbxm, | |||||
sqrxb:item.xb, | |||||
sqrzjhm:item.shyqrdbzjhm, | |||||
sqrnhdm:item.nhdm, | |||||
sqrzjlx:item.shyqrdbzjlx, | |||||
sqrdh:item.dh, | |||||
gyfs:item.gyfs, | |||||
dz:item.dz, | |||||
deptId:item.deptId, | |||||
deptName:item.deptName, | |||||
} | |||||
}) | |||||
this.getObligeeOptions = response.rows.filter(function (e) { return !e.shyqrdbxm.includes("村集体"); }); | |||||
//设置模糊查询的下拉框和滚动条 | //设置模糊查询的下拉框和滚动条 | ||||
if (this.getObligeeOptions.length > 0) { | if (this.getObligeeOptions.length > 0) { | ||||
this.showDropList = true; // div显示会阻挡下边的选择框和输入框,showDropList控制下拉框是否显示 | this.showDropList = true; // div显示会阻挡下边的选择框和输入框,showDropList控制下拉框是否显示 | ||||
@@ -597,19 +592,20 @@ export default { | |||||
}); | }); | ||||
}, | }, | ||||
shyqrdmxmChange(val){ | shyqrdmxmChange(val){ | ||||
this.$set(this.circulation, "sqrxm", val.shyqrdbxm); | |||||
this.$set(this.circulation, "deptId", val.deptId); | |||||
this.$set(this.circulation, "deptName", val.deptName); | |||||
this.$set(this.circulation, "sqrzjhm", val.shyqrdbzjhm); | |||||
this.$set(this.circulation, "sqrzjlx", val.shyqrdbzjlx); | |||||
this.$set(this.circulation, "sqrnhdm", val.nhdm); | |||||
this.$set(this.circulation, "gyqk", val.gyfs); | |||||
this.$set(this.circulation, "xb", val.xb); | |||||
this.$set(this.circulation, "lxdh", val.dh); | |||||
this.$set(this.circulation, "hkszd", val.dz); | |||||
this.$set(this.circulation, "zjddm", val.zjddm); | |||||
this.getObligeeOptions=[]; | |||||
this.showDropList = false; | |||||
if(!val.shyqrdbxm.includes("村集体")){ | |||||
this.$set(this.circulation, "sqrxm", val.shyqrdbxm); | |||||
this.$set(this.circulation, "deptId", val.deptId); | |||||
this.$set(this.circulation, "deptName", val.deptName); | |||||
this.$set(this.circulation, "sqrzjhm", val.shyqrdbzjhm); | |||||
this.$set(this.circulation, "sqrzjlx", val.shyqrdbzjlx); | |||||
this.$set(this.circulation, "sqrnhdm", val.nhdm); | |||||
this.$set(this.circulation, "gyqk", val.gyfs); | |||||
this.$set(this.circulation, "xb", val.xb); | |||||
this.$set(this.circulation, "lxdh", val.dh); | |||||
this.$set(this.circulation, "hkszd", val.dz); | |||||
this.getObligeeOptions=[]; | |||||
this.showDropList = false; | |||||
} | |||||
}, | }, | ||||
mapLook(){ | mapLook(){ | ||||
this.mapShow = true; | this.mapShow = true; | ||||
@@ -275,7 +275,7 @@ | |||||
<script> | <script> | ||||
import { getZyyctc,getShyqrs,zyyctcEdit,zyyctcApply,getByLyZjddm,listHomesteadnmfw} from "@/api/sunVillage_info/homestead/paidExit"; | import { getZyyctc,getShyqrs,zyyctcEdit,zyyctcApply,getByLyZjddm,listHomesteadnmfw} from "@/api/sunVillage_info/homestead/paidExit"; | ||||
import HomeApplyUploadComp from "@/components/home/HomeApplyUploadComp"; | |||||
import HomeApplyUploadComp from "@/components/home/HomeApplyUploadCompTc"; | |||||
import FieldSelect from "@/components/form/FieldSelect"; | import FieldSelect from "@/components/form/FieldSelect"; | ||||
import FieldDatePicker from "@/components/form/FieldDatePicker"; | import FieldDatePicker from "@/components/form/FieldDatePicker"; | ||||
import {formatDate} from "element-ui/src/utils/date-util.js"; | import {formatDate} from "element-ui/src/utils/date-util.js"; | ||||
@@ -303,7 +303,7 @@ | |||||
bcfsDictionaries:[],//补偿方式 | bcfsDictionaries:[],//补偿方式 | ||||
zjdDictionaries:[],//宅基地代码 | zjdDictionaries:[],//宅基地代码 | ||||
getObligeeOptions:[],//下拉框列表 | getObligeeOptions:[],//下拉框列表 | ||||
sysFarmer:JSON.parse(Cookies.get('user')), | |||||
sysFarmer:{}, | |||||
tcqllx:'', | tcqllx:'', | ||||
tclx:'', | tclx:'', | ||||
tcfs:'', | tcfs:'', | ||||
@@ -330,7 +330,7 @@ | |||||
houseApplyUploadComp: { | houseApplyUploadComp: { | ||||
businessType: PROPOSER_MODULE, | businessType: PROPOSER_MODULE, | ||||
proposerId: this.$route.query.id, | proposerId: this.$route.query.id, | ||||
homeApplyStatus: "11", | |||||
homeApplyStatus: "0", | |||||
processKey: PROPOSER_STAGE_BASE_APPLY_ACTIVITY, | processKey: PROPOSER_STAGE_BASE_APPLY_ACTIVITY, | ||||
tableName: PROPOSER_STAGE_BASE_APPLY_TABLE, | tableName: PROPOSER_STAGE_BASE_APPLY_TABLE, | ||||
attachmentList: [], | attachmentList: [], | ||||
@@ -340,7 +340,12 @@ | |||||
}; | }; | ||||
}, | }, | ||||
created() { | created() { | ||||
this.getDictionaries(); | |||||
if(Cookies.get('user')){ | |||||
this.getDictionaries(); | |||||
}else{ | |||||
this.$router.push('/sunVillage_info/login_code') | |||||
} | |||||
}, | }, | ||||
methods: { | methods: { | ||||
getDictionaries(){ | getDictionaries(){ | ||||
@@ -24,7 +24,7 @@ | |||||
<van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | <van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | ||||
<div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | <div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | ||||
<van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | <van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | ||||
{{item.sqrxm}} | |||||
{{item.shyqrdbxm}} | |||||
</van-cell> | </van-cell> | ||||
</div> | </div> | ||||
<!-- <van-field--> | <!-- <van-field--> | ||||
@@ -519,21 +519,7 @@ export default { | |||||
if (query !== "") { | if (query !== "") { | ||||
getShyqrs({shyqrdbxm:query,status:1,deptId:this.sysFarmer.deptId}).then((response) => { | getShyqrs({shyqrdbxm:query,status:1,deptId:this.sysFarmer.deptId}).then((response) => { | ||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.getObligeeOptions = response.rows.map(function (item) { | |||||
return { | |||||
sqrxm:item.shyqrdbxm, | |||||
sqrxb:item.xb, | |||||
sqrzjhm:item.shyqrdbzjhm, | |||||
sqrnhdm:item.nhdm, | |||||
sqrzjlx:item.shyqrdbzjlx, | |||||
sqrdh:item.dh, | |||||
gyfs:item.gyfs, | |||||
dz:item.dz, | |||||
deptId:item.deptId, | |||||
deptName:item.deptName, | |||||
zjddm:item.zjddm, | |||||
} | |||||
}) | |||||
this.getObligeeOptions = response.rows.filter(function (e) { return !e.shyqrdbxm.includes("村集体"); }); | |||||
//设置模糊查询的下拉框和滚动条 | //设置模糊查询的下拉框和滚动条 | ||||
if (this.getObligeeOptions.length > 0) { | if (this.getObligeeOptions.length > 0) { | ||||
this.showDropList = true; // div显示会阻挡下边的选择框和输入框,showDropList控制下拉框是否显示 | this.showDropList = true; // div显示会阻挡下边的选择框和输入框,showDropList控制下拉框是否显示 | ||||
@@ -567,19 +553,18 @@ export default { | |||||
}); | }); | ||||
}, | }, | ||||
shyqrdmxmChange(val){ | shyqrdmxmChange(val){ | ||||
this.$set(this.circulation, "sqrxm", val.sqrxm); | |||||
this.$set(this.circulation, "deptId", val.deptId); | |||||
this.$set(this.circulation, "deptName", val.deptName); | |||||
this.$set(this.circulation, "sqrzjhm", val.sqrzjhm); | |||||
this.$set(this.circulation, "sqrzjlx", val.sqrzjlx); | |||||
this.$set(this.circulation, "sqrnhdm", val.sqrnhdm); | |||||
this.$set(this.circulation, "gyqk", val.gyfs); | |||||
this.$set(this.circulation, "xb", val.sqrxb); | |||||
this.$set(this.circulation, "lxdh", val.sqrdh); | |||||
this.$set(this.circulation, "hkszd", val.dz); | |||||
this.$set(this.circulation, "zjddm", val.zjddm); | |||||
this.getObligeeOptions=[]; | |||||
this.showDropList = false; | |||||
this.$set(this.circulation, "sqrxm", val.shyqrdbxm); | |||||
this.$set(this.circulation, "deptId", val.deptId); | |||||
this.$set(this.circulation, "deptName", val.deptName); | |||||
this.$set(this.circulation, "sqrzjhm", val.shyqrdbzjhm); | |||||
this.$set(this.circulation, "sqrzjlx", val.shyqrdbzjlx); | |||||
this.$set(this.circulation, "sqrnhdm", val.nhdm); | |||||
this.$set(this.circulation, "gyqk", val.gyfs); | |||||
this.$set(this.circulation, "xb", val.xb); | |||||
this.$set(this.circulation, "lxdh", val.dh); | |||||
this.$set(this.circulation, "hkszd", val.dz); | |||||
this.getObligeeOptions=[]; | |||||
this.showDropList = false; | |||||
}, | }, | ||||
mapLook(){ | mapLook(){ | ||||
this.mapShow = true; | this.mapShow = true; | ||||
@@ -23,7 +23,7 @@ | |||||
<van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | <van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | ||||
<div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | <div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | ||||
<van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | <van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | ||||
{{item.sqrxm}} | |||||
{{item.shyqrdbxm}} | |||||
</van-cell> | </van-cell> | ||||
</div> | </div> | ||||
<!-- <van-field--> | <!-- <van-field--> | ||||
@@ -452,19 +452,7 @@ | |||||
if (query !== "") { | if (query !== "") { | ||||
getShyqrs({shyqrdbxm:query,status:1}).then((response) => { | getShyqrs({shyqrdbxm:query,status:1}).then((response) => { | ||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.getObligeeOptions = response.rows.map(function (item) { | |||||
return { | |||||
sqrxm:item.shyqrdbxm, | |||||
sqrxb:item.xb, | |||||
sqrzjhm:item.shyqrdbzjhm, | |||||
sqrzjlx:item.shyqrdbzjlx, | |||||
sqrdh:item.dh, | |||||
gyfs:item.gyfs, | |||||
dz:item.dz, | |||||
deptId:item.deptId, | |||||
deptName:item.deptName, | |||||
} | |||||
}) | |||||
this.getObligeeOptions = response.rows.filter(function (e) { return !e.shyqrdbxm.includes("村集体"); }); | |||||
//设置模糊查询的下拉框和滚动条 | //设置模糊查询的下拉框和滚动条 | ||||
if (this.getObligeeOptions.length > 0) { | if (this.getObligeeOptions.length > 0) { | ||||
this.showDropList = true; // div显示会阻挡下边的选择框和输入框,showDropList控制下拉框是否显示 | this.showDropList = true; // div显示会阻挡下边的选择框和输入框,showDropList控制下拉框是否显示 | ||||
@@ -490,15 +478,15 @@ | |||||
} | } | ||||
}, | }, | ||||
shyqrdmxmChange(val){ | shyqrdmxmChange(val){ | ||||
console.info(val); | |||||
this.$set(this.circulation, "sqrxm", val.sqrxm); | |||||
this.$set(this.circulation, "sqrxm", val.shyqrdbxm); | |||||
this.$set(this.circulation, "deptId", val.deptId); | this.$set(this.circulation, "deptId", val.deptId); | ||||
this.$set(this.circulation, "deptName", val.deptId); | |||||
this.$set(this.circulation, "sqrzjhm", val.sqrzjhm); | |||||
this.$set(this.circulation, "sqrzjlx", val.sqrzjlx); | |||||
this.$set(this.circulation, "deptName", val.deptName); | |||||
this.$set(this.circulation, "sqrzjhm", val.shyqrdbzjhm); | |||||
this.$set(this.circulation, "sqrzjlx", val.shyqrdbzjlx); | |||||
this.$set(this.circulation, "sqrnhdm", val.nhdm); | |||||
this.$set(this.circulation, "gyqk", val.gyfs); | this.$set(this.circulation, "gyqk", val.gyfs); | ||||
this.$set(this.circulation, "xb", val.sqrxb); | |||||
this.$set(this.circulation, "lxdh", val.sqrdh); | |||||
this.$set(this.circulation, "xb", val.xb); | |||||
this.$set(this.circulation, "lxdh", val.dh); | |||||
this.$set(this.circulation, "hkszd", val.dz); | this.$set(this.circulation, "hkszd", val.dz); | ||||
this.getObligeeOptions=[]; | this.getObligeeOptions=[]; | ||||
this.showDropList = false; | this.showDropList = false; | ||||
@@ -24,7 +24,7 @@ | |||||
<van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | <van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | ||||
<div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | <div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | ||||
<van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | <van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | ||||
{{item.sqrxm}} | |||||
{{item.shyqrdbxm}} | |||||
</van-cell> | </van-cell> | ||||
</div> | </div> | ||||
<!-- <van-field--> | <!-- <van-field--> | ||||
@@ -285,7 +285,7 @@ | |||||
<script> | <script> | ||||
import { getShyqrs,dyAdd,zyyctcApply,getByLyZjddm,listHomesteadnmfw} from "@/api/sunVillage_info/homestead/paidExit"; | import { getShyqrs,dyAdd,zyyctcApply,getByLyZjddm,listHomesteadnmfw} from "@/api/sunVillage_info/homestead/paidExit"; | ||||
import HomeApplyUploadComp from "@/components/home/HomeApplyUploadComp"; | |||||
import HomeApplyUploadComp from "@/components/home/HomeApplyUploadCompTc"; | |||||
import FieldSelect from "@/components/form/FieldSelect"; | import FieldSelect from "@/components/form/FieldSelect"; | ||||
import FieldDatePicker from "@/components/form/FieldDatePicker"; | import FieldDatePicker from "@/components/form/FieldDatePicker"; | ||||
import {formatDate} from "element-ui/src/utils/date-util.js"; | import {formatDate} from "element-ui/src/utils/date-util.js"; | ||||
@@ -546,20 +546,7 @@ export default { | |||||
if (query !== "") { | if (query !== "") { | ||||
getShyqrs({shyqrdbxm:query,status:1}).then((response) => { | getShyqrs({shyqrdbxm:query,status:1}).then((response) => { | ||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.getObligeeOptions = response.rows.map(function (item) { | |||||
return { | |||||
sqrxm:item.shyqrdbxm, | |||||
sqrxb:item.xb, | |||||
sqrzjhm:item.shyqrdbzjhm, | |||||
sqrnhdm:item.nhdm, | |||||
sqrzjlx:item.shyqrdbzjlx, | |||||
sqrdh:item.dh, | |||||
gyfs:item.gyfs, | |||||
dz:item.dz, | |||||
deptId:item.deptId, | |||||
deptName:item.deptName, | |||||
} | |||||
}) | |||||
this.getObligeeOptions = response.rows.filter(function (e) { return !e.shyqrdbxm.includes("村集体"); }); | |||||
//设置模糊查询的下拉框和滚动条 | //设置模糊查询的下拉框和滚动条 | ||||
if (this.getObligeeOptions.length > 0) { | if (this.getObligeeOptions.length > 0) { | ||||
this.showDropList = true; // div显示会阻挡下边的选择框和输入框,showDropList控制下拉框是否显示 | this.showDropList = true; // div显示会阻挡下边的选择框和输入框,showDropList控制下拉框是否显示 | ||||
@@ -593,15 +580,15 @@ export default { | |||||
}); | }); | ||||
}, | }, | ||||
shyqrdmxmChange(val){ | shyqrdmxmChange(val){ | ||||
this.$set(this.circulation, "sqrxm", val.sqrxm); | |||||
this.$set(this.circulation, "sqrxm", val.shyqrdbxm); | |||||
this.$set(this.circulation, "deptId", val.deptId); | this.$set(this.circulation, "deptId", val.deptId); | ||||
this.$set(this.circulation, "deptName", val.deptName); | this.$set(this.circulation, "deptName", val.deptName); | ||||
this.$set(this.circulation, "sqrzjhm", val.sqrzjhm); | |||||
this.$set(this.circulation, "sqrzjlx", val.sqrzjlx); | |||||
this.$set(this.circulation, "sqrnhdm", val.sqrnhdm); | |||||
this.$set(this.circulation, "sqrzjhm", val.shyqrdbzjhm); | |||||
this.$set(this.circulation, "sqrzjlx", val.shyqrdbzjlx); | |||||
this.$set(this.circulation, "sqrnhdm", val.nhdm); | |||||
this.$set(this.circulation, "gyqk", val.gyfs); | this.$set(this.circulation, "gyqk", val.gyfs); | ||||
this.$set(this.circulation, "xb", val.sqrxb); | |||||
this.$set(this.circulation, "lxdh", val.sqrdh); | |||||
this.$set(this.circulation, "xb", val.xb); | |||||
this.$set(this.circulation, "lxdh", val.dh); | |||||
this.$set(this.circulation, "hkszd", val.dz); | this.$set(this.circulation, "hkszd", val.dz); | ||||
this.getObligeeOptions=[]; | this.getObligeeOptions=[]; | ||||
this.showDropList = false; | this.showDropList = false; | ||||
@@ -23,7 +23,7 @@ | |||||
<van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | <van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | ||||
<div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | <div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | ||||
<van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | <van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | ||||
{{item.sqrxm}} | |||||
{{item.shyqrdbxm}} | |||||
</van-cell> | </van-cell> | ||||
</div> | </div> | ||||
<!-- <van-field--> | <!-- <van-field--> | ||||
@@ -277,7 +277,7 @@ | |||||
<script> | <script> | ||||
import { getZyyctc,getShyqrs,zyyctcEdit,zyyctcApply,getByLyZjddm,listHomesteadnmfw} from "@/api/sunVillage_info/homestead/paidExit"; | import { getZyyctc,getShyqrs,zyyctcEdit,zyyctcApply,getByLyZjddm,listHomesteadnmfw} from "@/api/sunVillage_info/homestead/paidExit"; | ||||
import HomeApplyUploadComp from "@/components/home/HomeApplyUploadComp"; | |||||
import HomeApplyUploadComp from "@/components/home/HomeApplyUploadCompTc"; | |||||
import FieldSelect from "@/components/form/FieldSelect"; | import FieldSelect from "@/components/form/FieldSelect"; | ||||
import FieldDatePicker from "@/components/form/FieldDatePicker"; | import FieldDatePicker from "@/components/form/FieldDatePicker"; | ||||
import {formatDate} from "element-ui/src/utils/date-util.js"; | import {formatDate} from "element-ui/src/utils/date-util.js"; | ||||
@@ -479,19 +479,7 @@ | |||||
if (query !== "") { | if (query !== "") { | ||||
getShyqrs({shyqrdbxm:query,status:1}).then((response) => { | getShyqrs({shyqrdbxm:query,status:1}).then((response) => { | ||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.getObligeeOptions = response.rows.map(function (item) { | |||||
return { | |||||
sqrxm:item.shyqrdbxm, | |||||
sqrxb:item.xb, | |||||
sqrzjhm:item.shyqrdbzjhm, | |||||
sqrzjlx:item.shyqrdbzjlx, | |||||
sqrdh:item.dh, | |||||
gyfs:item.gyfs, | |||||
dz:item.dz, | |||||
deptId:item.deptId, | |||||
deptName:item.deptName, | |||||
} | |||||
}) | |||||
this.getObligeeOptions = response.rows.filter(function (e) { return !e.shyqrdbxm.includes("村集体"); }); | |||||
//设置模糊查询的下拉框和滚动条 | //设置模糊查询的下拉框和滚动条 | ||||
if (this.getObligeeOptions.length > 0) { | if (this.getObligeeOptions.length > 0) { | ||||
this.showDropList = true; // div显示会阻挡下边的选择框和输入框,showDropList控制下拉框是否显示 | this.showDropList = true; // div显示会阻挡下边的选择框和输入框,showDropList控制下拉框是否显示 | ||||
@@ -517,15 +505,15 @@ | |||||
} | } | ||||
}, | }, | ||||
shyqrdmxmChange(val){ | shyqrdmxmChange(val){ | ||||
console.info(val); | |||||
this.$set(this.circulation, "sqrxm", val.sqrxm); | |||||
this.$set(this.circulation, "sqrxm", val.shyqrdbxm); | |||||
this.$set(this.circulation, "deptId", val.deptId); | this.$set(this.circulation, "deptId", val.deptId); | ||||
this.$set(this.circulation, "deptName", val.deptId); | |||||
this.$set(this.circulation, "sqrzjhm", val.sqrzjhm); | |||||
this.$set(this.circulation, "sqrzjlx", val.sqrzjlx); | |||||
this.$set(this.circulation, "deptName", val.deptName); | |||||
this.$set(this.circulation, "sqrzjhm", val.shyqrdbzjhm); | |||||
this.$set(this.circulation, "sqrzjlx", val.shyqrdbzjlx); | |||||
this.$set(this.circulation, "sqrnhdm", val.nhdm); | |||||
this.$set(this.circulation, "gyqk", val.gyfs); | this.$set(this.circulation, "gyqk", val.gyfs); | ||||
this.$set(this.circulation, "xb", val.sqrxb); | |||||
this.$set(this.circulation, "lxdh", val.sqrdh); | |||||
this.$set(this.circulation, "xb", val.xb); | |||||
this.$set(this.circulation, "lxdh", val.dh); | |||||
this.$set(this.circulation, "hkszd", val.dz); | this.$set(this.circulation, "hkszd", val.dz); | ||||
this.getObligeeOptions=[]; | this.getObligeeOptions=[]; | ||||
this.showDropList = false; | this.showDropList = false; | ||||