From 353e6c8bde339dc3d453d14ac4f7ebeba77daf85 Mon Sep 17 00:00:00 2001
From: zzyuan <781948537@qq.com>
Date: Tue, 4 Mar 2025 18:42:50 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A7=9F=E6=88=BF=E7=94=B3=E8=AF=B7=E5=AE=A1?=
=?UTF-8?q?=E6=A0=B8=E6=B5=81=E7=A8=8B=E5=AF=B9=E6=8E=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/house/house-detail.vue | 39 +-
pages/house/house-examine-detail-old.vue | 2709 ++++++++++++++++++++++
pages/house/house-examine-detail.vue | 111 +-
pages/house/house-examine.vue | 14 +-
pages/house/house.vue | 36 +-
5 files changed, 2842 insertions(+), 67 deletions(-)
create mode 100644 pages/house/house-examine-detail-old.vue
diff --git a/pages/house/house-detail.vue b/pages/house/house-detail.vue
index 0c0dd94..1436eca 100644
--- a/pages/house/house-detail.vue
+++ b/pages/house/house-detail.vue
@@ -25,21 +25,34 @@
联系方式:
{{ item.phone }}
-
+
部 门:
{{ item.orgName }}
-
+
婚姻状况:
{{ item.marriageState }}
-
-
+
+
房查照片:
+ 身份证照片:
+
+
+
+
+
+ 附件:
+
+
+
+
+
+
工作岗位:
{{ item.position }}
@@ -55,13 +68,13 @@
申请日期:
{{ formatDate(item.applyTime,'dateTime') }}
-
+
申请事由:
{{ item.applyCause }}
分配房源:
- {{item.houseName}}
+ {{item.houseName}}-{{item.houseCode}}
租金:
@@ -157,12 +170,14 @@
名称
品牌
型号
+ 价格
数量
{{ items.name }}
{{ items.brand }}
{{ items.model }}
+ {{ items.price }}
{{ items.num }}
@@ -177,12 +192,14 @@
名称
品牌
型号
+ 价格
数量
{{ items.name }}
{{ items.brand }}
{{ items.model }}
+ {{ items.price }}
{{ items.num }}
@@ -197,12 +214,14 @@
名称
品牌
型号
+ 价格
数量
{{ items.name }}
{{ items.brand }}
{{ items.model }}
+ {{ items.price }}
{{ items.num }}
@@ -236,7 +255,7 @@
-
+
@@ -405,7 +424,9 @@
res = res.data;
if ( res.returnCode === "1"){
_this.item = res.returnData[0];
- _this.item.roomInspection = _this.item.roomInspection.split(',')
+ _this.item.roomInspection = _this.item.roomInspection.split(',')//房查
+ _this.item.idCardImg = _this.item.idCardImg.split(',')//身份证
+ _this.item.attachment = _this.item.attachment.split(',')//附件
if(_this.item.photo){
_this.item.photo = _this.item.photo.split(',')
}
diff --git a/pages/house/house-examine-detail-old.vue b/pages/house/house-examine-detail-old.vue
new file mode 100644
index 0000000..b4ebb8d
--- /dev/null
+++ b/pages/house/house-examine-detail-old.vue
@@ -0,0 +1,2709 @@
+
+
+
+
+
+
+
+ 状 态:
+ 待审核
+ 审核中
+ 审核中
+ 待上传合同
+ 已拒绝
+
+ 退租待审核
+ 已退租
+ 退租未通过
+ 已入住
+
+
+ 姓 名:
+ {{item.userName}}
+
+
+ 联系方式:
+ {{ item.phone }}
+
+
+ 部 门:
+ {{ item.orgName }}
+
+
+ 婚姻状况:
+ {{ item.marriageState }}
+
+
+ 房查照片:
+
+
+
+
+
+ 工作岗位:
+ {{ item.position }}
+
+
+ 人员类别:
+ {{ formatUserType(item.userType) }}
+
+
+ 申请房型:
+ {{ formatHouseType(item.houseType) }}
+
+
+ 申请日期:
+ {{ formatDate(item.applyTime,'dateTime') }}
+
+
+ 申请事由:
+ {{ item.applyCause }}
+
+
+ 分配房源:
+ {{ chosenHouse }}
+ {{item.houseName}}
+
+
+ 租金:
+ {{ chosenHouseCost }}元
+ {{ item.rent }}元
+
+
+
+
+ 合同期限*:
+
+
+
+ 合同照片*:
+
+
+
+
+
+
+
+
+
+
+
+
+ 互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!
+
+ 缴费凭证*:
+
+
+
+
+
+
+
+
+
+
+
+ 互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!
+
+
+ 入住房间照片:
+
+
+
+
+
+
+
+
+
+
+
+ 互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!
+
+
+
+ 入住水表数值*:
+
+
+
+ 入住电表数值*:
+
+
+
+ 入住燃气数值*:
+
+
+
+ 附属设备清单:
+
+
+
+ 名称
+ 品牌
+ 型号
+ 数量
+
+
+ {{ items.name }}
+ {{ items.brand }}
+ {{ items.model }}
+ {{ items.num }}
+
+
+
+
+
+
+
+
+
+
+ 合同期限:
+ {{ formatDate(item.contractStartTime,'date')+"~"+ formatDate(item.contractEndTime,'date')}}
+
+
+ 退租日期*:
+
+
+
+ 退租日期:
+ {{ formatDate(item.checkOutDate,'date')}}
+
+
+
+ 合同图片:
+
+
+
+
+
+ 缴费凭证:
+
+
+
+
+
+ 入住房间照片:
+
+
+
+
+
+
+ 退租房间照片*:
+
+
+
+
+
+
+
+
+
+
+
+ 互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!
+
+
+ 退租房间照片:
+
+
+
+
+
+
+ 物业费结清凭证*:
+
+
+
+
+
+
+
+
+
+
+
+ 互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!
+
+
+ 物业费结清凭证:
+
+
+
+
+
+
+
+
+ 入住水表数值:
+ {{ item.waterValue }}
+
+
+ 水表当前数值*:
+
+
+
+ 水费结清凭证*:
+
+
+
+
+
+
+
+
+
+
+
+ 互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!
+
+
+ 水表退租数值:
+ {{ item.waterValueNow }}
+
+
+ 水费结清凭证:
+
+
+
+
+
+
+ 入住电表数值:
+ {{ item.powerValue }}
+
+
+ 电表当前数值*:
+
+
+
+ 电费结清凭证*:
+
+
+
+
+
+
+
+
+
+
+
+ 互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!
+
+
+ 电表退租数值:
+ {{ item.powerValueNow }}
+
+
+ 电费结清凭证:
+
+
+
+
+
+
+
+ 入住燃气数值:
+ {{ item.gasValue }}
+
+
+ 燃气当前数值*:
+
+
+
+ 燃气结清凭证*:
+
+
+
+
+
+
+
+
+
+
+
+ 互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!
+
+
+ 燃气退租数值:
+ {{ item.gasValueNow }}
+
+
+ 燃气结清凭证:
+
+
+
+
+
+
+ 入住设备清单:
+
+
+
+ 名称
+ 品牌
+ 型号
+ 数量
+
+
+ {{ items.name }}
+ {{ items.brand }}
+ {{ items.model }}
+ {{ items.num }}
+
+
+
+
+
+
+
+ 检查设备清单:
+
+
+
+ 名称
+ 品牌
+ 型号
+ 数量
+
+
+ {{ items.name }}
+ {{ items.brand }}
+ {{ items.model }}
+ {{ items.num }}
+
+
+
+
+
+
+ 检查设备清单:
+
+
+
+ 名称
+ 品牌
+ 型号
+ 数量
+
+
+ {{ items.name }}
+ {{ items.brand }}
+ {{ items.model }}
+ {{ items.num }}
+
+
+
+
+
+
+
+
+
+ 押金是否退还:
+
+
+
+
+
+
+
+ 是否抵扣:
+
+
+
+
+
+
+
+ 抵扣说明:
+
+
+
+
+
+ 押金是否退还:
+ {{ depositBackStates[Number(item.depositBack)].name }}
+
+
+ 是否抵扣:
+ {{ isDeductionStates[Number(item.isDeduction)].name }}
+
+
+ 抵扣说明:
+ {{ item.deductionReason }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 审核内容:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/house/house-examine-detail.vue b/pages/house/house-examine-detail.vue
index b4ebb8d..406619d 100644
--- a/pages/house/house-examine-detail.vue
+++ b/pages/house/house-examine-detail.vue
@@ -8,6 +8,7 @@
状 态:
待审核
审核中
+ 审核中
审核中
待上传合同
已拒绝
@@ -25,21 +26,33 @@
联系方式:
{{ item.phone }}
-
+
部 门:
{{ item.orgName }}
-
+
婚姻状况:
{{ item.marriageState }}
-
+
房查照片:
+ 身份证照片:
+
+
+
+
+
+ 附件:
+
+
+
+
+
工作岗位:
{{ item.position }}
@@ -55,28 +68,35 @@
申请日期:
{{ formatDate(item.applyTime,'dateTime') }}
-
+
申请事由:
{{ item.applyCause }}
-
+
分配房源:
- {{ chosenHouse }}
- {{item.houseName}}
-
-
+ {{ chosenHouse }}
+
+
租金:
- {{ chosenHouseCost }}元
- {{ item.rent }}元
+ {{ chosenHouseCost }}元
+
+
+ 分配房源:
+ {{item.houseName}}-{{item.houseCode}}
+
+
+ 租金:
+ {{ item.rent }}元
-
+
+
合同期限*:
- 合同照片*:
+ 合同照片*:
@@ -92,7 +112,7 @@
互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!
- 缴费凭证*:
+ 缴费凭证*:
@@ -108,7 +128,7 @@
互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!
- 入住房间照片:
+ 入住房间照片*:
@@ -147,19 +167,20 @@
名称
品牌
型号
+ 价格
数量
{{ items.name }}
{{ items.brand }}
{{ items.model }}
+ {{ items.price }}
{{ items.num }}
-
-
+
@@ -360,12 +381,14 @@
名称
品牌
型号
+ 价格
数量
{{ items.name }}
{{ items.brand }}
{{ items.model }}
+ {{ items.price }}
{{ items.num }}
@@ -381,12 +404,14 @@
名称
品牌
型号
+ 价格
数量
{{ items.name }}
{{ items.brand }}
{{ items.model }}
+ {{ items.price }}
{{ items.num }}
@@ -401,12 +426,14 @@
名称
品牌
型号
+ 价格
数量
{{ items.name }}
{{ items.brand }}
{{ items.model }}
+ {{ items.price }}
{{ items.num }}
@@ -482,33 +509,37 @@
-
+
-
+
+
+
-
+
-
-
+
@@ -561,7 +592,7 @@
formatDate:formatDate,
item: {},
id:0,
- queryType:0,
+ queryType:0,//0待审核进入,1已审核进入
replyContent:'',
userId: getStorage('userInfo').id,
imgs:[],
@@ -698,6 +729,8 @@
if ( res.returnCode === "1"){
_this.item = res.returnData[0];
_this.item.roomInspection = _this.item.roomInspection.split(',')
+ _this.item.idCardImg = _this.item.idCardImg.split(',')//身份证
+ _this.item.attachment = _this.item.attachment.split(',')//附件
if(_this.item.photo){
_this.item.photo = _this.item.photo.split(',')
}
@@ -770,14 +803,14 @@
let details = res.returnData[0].detail||[]
for(let i=0;i{_this.examineButton = false;},400)
- // _this.examineButton = false;
- }
- }
- if(_this.item.examineState==0&&_this.examineBatch==_this.item.examineBatch){
- _this.examineButton = true;
+ // if(_this.examineBatch == obj.examineBatch){
+ // setTimeout(()=>{_this.examineButton = false;},400)
+ // // _this.examineButton = false;
+ // }
}
+ // if(_this.item.examineState==0&&_this.examineBatch==_this.item.examineBatch){
+ // _this.examineButton = true;
+ // }
_this.process=[];
// console.log(obj.examineState!=0)
if(_this.process.length==0){
@@ -1074,10 +1107,6 @@
submit(examineState){
this.examineButton = false;
//examineState 1通过,2不通过
- let isUpload=''
- if(this.examineBatch==2&&this.item.isUpload=='2'){
- isUpload = this.item.isUpload
- }
let params = {
"method": greenHouseExamine,
"data":{
@@ -1085,16 +1114,22 @@
houseId: this.item.houseId || '',
userId:getStorage('userInfo').id,
userName:getStorage('userInfo').userName,
- isUpload:isUpload,
+ isUpload:'',
examineState:examineState+'',
examineOpinion:this.replyContent,
- examineBatch:this.examineBatch+''
+ examineBatch:this.examineBatch+'',
+ checkId:this.item.checkId,
+ checkSort:this.item.checkNode,
+ checkType:this.item.checkType,
+ checkOperate:this.item.checkOperat,
+ checkName:this.item.checkName
}
};
callbackRequest(params).then(res => {
res = res.data;
if (res.returnCode == 1) {
alertTip(res.returnMsg);
+ this.queryType=1
this.closeCirculation();
this.greenHouseDetail();
// uni.navigateBack({
diff --git a/pages/house/house-examine.vue b/pages/house/house-examine.vue
index 43b4629..1be0562 100644
--- a/pages/house/house-examine.vue
+++ b/pages/house/house-examine.vue
@@ -16,7 +16,7 @@
存量房申请
待审核
- 审核中
+ 审核中
审核中
待上传合同
已拒绝
@@ -35,7 +35,7 @@
联系电话:
{{ item.phone }}
-
+
部 门:
{{ item.orgName }}
@@ -58,7 +58,7 @@
存量房申请
待审核
- 审核中
+ 审核中
审核中
待上传合同
已拒绝
@@ -77,7 +77,7 @@
联系电话:
{{ item.phone }}
-
+
部 门:
{{ item.orgName }}
@@ -155,11 +155,11 @@ export default {
if (this.currentTabIndex==0) {
this.page0 = 1;
this.loadingType0 = 0;
-
+ this.list0 = []
}else if (this.currentTabIndex==1) {
this.page1 = 1;
this.loadingType1 = 0;
-
+ this.list1 = []
}
this.greenHouseExaminePage();
}
@@ -175,7 +175,7 @@ export default {
methods: {
detail(item) {
uni.navigateTo({
- url: `/pages/house/house-examine-detail?id=`+item.id+'&queryType=1&examineBatch='+this.examineBatch
+ url: `/pages/house/house-examine-detail?id=`+item.id+'&queryType='+this.currentTabIndex+'&examineBatch='+this.examineBatch
});
},
greenHouseExaminePage() {
diff --git a/pages/house/house.vue b/pages/house/house.vue
index 1c66be7..de5f92b 100644
--- a/pages/house/house.vue
+++ b/pages/house/house.vue
@@ -167,7 +167,7 @@
存量房申请
待审核
- 审核中
+ 审核中
审核中
待上传合同
已拒绝
@@ -392,6 +392,7 @@ export default {
//房查照片
this.houseApply.roomInspection=this.imgsId1.toString();
//身份证照片
+ this.houseApply.idCardImg=this.imgsId2.toString();
}else if(this.houseApply.userType==2){
if (!this.houseApply.userName) {
@@ -446,10 +447,12 @@ export default {
this.submitFlag = true;
return false;
}
+ this.houseApply.userId = getStorage('userInfo').userId,
+ this.houseApply.orgId = getStorage('userInfo').department_id,
//房查照片
this.houseApply.roomInspection=this.imgsId1.toString();
- //身份证照片
- // this.houseApply. = this.imgsId2.toString();
+ //身份证
+ this.houseApply.idCardImg=this.imgsId2.toString();
}else if(this.houseApply.userType==3){
if (!this.houseApply.userName) {
alertTip('请输入姓名');
@@ -476,10 +479,12 @@ export default {
this.submitFlag = true;
return false;
}
- //身份证照片
- // this.houseApply. = this.imgsId2.toString();
+ this.houseApply.userId = getStorage('userInfo').userId,
+ this.houseApply.orgId = getStorage('userInfo').department_id,
+ //身份证
+ this.houseApply.idCardImg=this.imgsId2.toString();
//附件
- // this.houseApply. = this.imgsId3.toString();
+ this.houseApply.attachment = this.imgsId3.toString();
}
let params = {
method: greenHouseApply,
@@ -491,12 +496,12 @@ export default {
if (res.returnCode == 1) {
this.submitFlag = true;
alertTip(res.returnMsg);
- if(this.houseApply.userType==2){
+ // if(this.houseApply.userType==2){
//外部人员提交后走一次选房审批产生记录
- setTimeout(_ => {
- this.examine(res.returnData,this.houseApply.houseId)
- }, 1000);
- }
+ // setTimeout(_ => {
+ // this.examine(res.returnData,this.houseApply.houseId)
+ // }, 1000);
+ // }
setTimeout(_ => {
this.houseApply.marriageState ='未婚';
this.houseApply.position ='';
@@ -505,6 +510,8 @@ export default {
this.houseApply.userType = this.userTypes[this.userTypeIndex].id;
this.houseTypeIndex = 0;
this.houseApply.houseType = this.houseType[this.houseTypeIndex].id;
+ this.houseApply.checkId = this.houseType[this.houseTypeIndex].creator;
+ this.houseApply.checkRole = this.houseType[this.houseTypeIndex].checkRole;
this.houseApply.userName=getStorage('userInfo').userName;
this.houseApply.phone=getStorage('userInfo').mobile;
this.houseApply.orgName=getStorage('userInfo').departmentName;
@@ -542,8 +549,7 @@ export default {
this.houseApply.userName=getStorage('userInfo').userName
this.houseApply.phone=getStorage('userInfo').mobile
this.houseApply.orgName=getStorage('userInfo').departmentName
- }
- if(this.houseApply.userType==2){
+ }else{
this.houseApply.userName=''
this.houseApply.phone=''
this.houseApply.orgName=''
@@ -556,6 +562,8 @@ export default {
changeHouseType(e){
this.houseTypeIndex = e.detail.value;
this.houseApply.houseType = this.houseType[this.houseTypeIndex].id;
+ this.houseApply.checkId = this.houseType[this.houseTypeIndex].creator;
+ this.houseApply.checkRole = this.houseType[this.houseTypeIndex].checkRole;
},
//人员类型
getUserType(dataType){
@@ -592,6 +600,8 @@ export default {
if (res.returnCode == 1) {
this.houseType = res.returnData || [];
this.houseApply.houseType = this.houseType[this.houseTypeIndex].id;
+ this.houseApply.checkId = this.houseType[this.houseTypeIndex].creator;
+ this.houseApply.checkRole = this.houseType[this.houseTypeIndex].checkRole;
} else {
}