租房申请审核流程对接
This commit is contained in:
parent
bc60d8000d
commit
353e6c8bde
|
|
@ -25,21 +25,34 @@
|
|||
<text class="label">联系方式: </text>
|
||||
<text class="infoSpan" >{{ item.phone }}</text>
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<view class="info-item" v-if="item.userType!=3">
|
||||
<text class="label">部 门: </text>
|
||||
<text class="infoSpan">{{ item.orgName }}</text>
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<view class="info-item" v-if="item.userType!=3">
|
||||
<text class="label">婚姻状况: </text>
|
||||
<text class="infoSpan">{{ item.marriageState }}</text>
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<view class="info-item" v-if="item.userType!=3">
|
||||
<text class="label">房查照片: </text>
|
||||
<view class="img-box">
|
||||
<image v-for="(itemImg,imgIndex) in item.roomInspection" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<text class="label">身份证照片: </text>
|
||||
<view class="img-box">
|
||||
<image v-for="(itemImg,imgIndex) in item.idCardImg" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="info-item" v-if="item.userType==3">
|
||||
<text class="label">附件: </text>
|
||||
<view class="img-box">
|
||||
<image v-for="(itemImg,imgIndex) in item.attachment" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="info-item" v-if="item.userType==2">
|
||||
<text class="label">工作岗位: </text>
|
||||
<text class="infoSpan">{{ item.position }}</text>
|
||||
</view>
|
||||
|
|
@ -55,13 +68,13 @@
|
|||
<text class="label">申请日期: </text>
|
||||
<text class="infoSpan">{{ formatDate(item.applyTime,'dateTime') }}</text>
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<view class="info-item" v-if="item.userType!=3">
|
||||
<text class="label">申请事由: </text>
|
||||
<text class="infoSpan">{{ item.applyCause }}</text>
|
||||
</view>
|
||||
<view class="info-item" v-if="item.houseId">
|
||||
<text class="label">分配房源: </text>
|
||||
<text class="infoSpan" v-if="item.houseId">{{item.houseName}}</text>
|
||||
<text class="infoSpan" v-if="item.houseId">{{item.houseName}}-{{item.houseCode}}</text>
|
||||
</view>
|
||||
<view class="info-item" v-if="item.houseId">
|
||||
<text class="label">租金: </text>
|
||||
|
|
@ -157,12 +170,14 @@
|
|||
<uni-th width="80" align="left">名称</uni-th>
|
||||
<uni-th width="80" align="left">品牌</uni-th>
|
||||
<uni-th width="60" align="left">型号</uni-th>
|
||||
<uni-th width="60" align="left">价格</uni-th>
|
||||
<uni-th width="60" align="left">数量</uni-th>
|
||||
</uni-tr>
|
||||
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
|
||||
<uni-td align="left">{{ items.name }}</uni-td>
|
||||
<uni-td align="left">{{ items.brand }}</uni-td>
|
||||
<uni-td align="left">{{ items.model }}</uni-td>
|
||||
<uni-td align="left">{{ items.price }}</uni-td>
|
||||
<uni-td align="left">{{ items.num }}</uni-td>
|
||||
</uni-tr>
|
||||
|
||||
|
|
@ -177,12 +192,14 @@
|
|||
<uni-th width="80" align="left">名称</uni-th>
|
||||
<uni-th width="80" align="left">品牌</uni-th>
|
||||
<uni-th width="60" align="left">型号</uni-th>
|
||||
<uni-th width="60" align="left">价格</uni-th>
|
||||
<uni-th width="60" align="left">数量</uni-th>
|
||||
</uni-tr>
|
||||
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
|
||||
<uni-td align="left">{{ items.name }}</uni-td>
|
||||
<uni-td align="left">{{ items.brand }}</uni-td>
|
||||
<uni-td align="left">{{ items.model }}</uni-td>
|
||||
<uni-td align="left">{{ items.price }}</uni-td>
|
||||
<uni-td align="left">{{ items.num }}</uni-td>
|
||||
</uni-tr>
|
||||
|
||||
|
|
@ -197,12 +214,14 @@
|
|||
<uni-th width="80" align="left">名称</uni-th>
|
||||
<uni-th width="80" align="left">品牌</uni-th>
|
||||
<uni-th width="60" align="left">型号</uni-th>
|
||||
<uni-th width="60" align="left">价格</uni-th>
|
||||
<uni-th width="60" align="left">数量</uni-th>
|
||||
</uni-tr>
|
||||
<uni-tr v-for="(items, indexs) in devicesList2" :key="indexs">
|
||||
<uni-td align="left">{{ items.name }}</uni-td>
|
||||
<uni-td align="left">{{ items.brand }}</uni-td>
|
||||
<uni-td align="left">{{ items.model }}</uni-td>
|
||||
<uni-td align="left">{{ items.price }}</uni-td>
|
||||
<uni-td align="left">{{ items.num }}</uni-td>
|
||||
</uni-tr>
|
||||
|
||||
|
|
@ -236,7 +255,7 @@
|
|||
</view>
|
||||
<view class="occupied" style="height: 180upx;"></view>
|
||||
|
||||
<view v-if="queryType==1 && examineButton" style="position: fixed;bottom:0upx;height: 50upx;width: 100%;z-index: 9999;">
|
||||
<!-- <view v-if="examineButton" style="position: fixed;bottom:0upx;height: 50upx;width: 100%;z-index: 9999;">
|
||||
<view>
|
||||
<view class="footer-btn footer-btn-two batchBtn" v-if="examineBatch!=2">
|
||||
<view class="btn btn-col btn1" @click="circulation()">拒绝</view>
|
||||
|
|
@ -261,7 +280,7 @@
|
|||
<view class="btn btn-col1" style="width:40%;border-radius: 10upx" @click="submit(2)">确定</view>
|
||||
</view>
|
||||
</view>
|
||||
</uni-popup>
|
||||
</uni-popup> -->
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
|
@ -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(',')
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -8,6 +8,7 @@
|
|||
<text class="label">状 态: </text>
|
||||
<text v-if="item.examineState ==0&&item.examineBatch==1" class="infoSpan" style="color: #ff9000;" >待审核</text>
|
||||
<text v-if="item.examineState ==0&&item.examineBatch>1" class="infoSpan" style="color: #ff9000;" >审核中</text>
|
||||
<text v-if="item.examineState ==3&&item.examineBatch>1" class="infoSpan" style="color: #ff9000;" >审核中</text>
|
||||
<text v-if="item.examineState ==1&&item.isUpload!='2'" class="infoSpan" style="color: #ff9000;">审核中</text>
|
||||
<text v-if="item.examineState ==1&&item.isUpload=='2'" class="infoSpan" style="color: #ff9000;">待上传合同</text>
|
||||
<text v-if="item.examineState ==2" class="infoSpan" style="color: red;">已拒绝</text>
|
||||
|
|
@ -25,21 +26,33 @@
|
|||
<text class="label">联系方式: </text>
|
||||
<text class="infoSpan" >{{ item.phone }}</text>
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<view class="info-item" v-if="item.userType!=3">
|
||||
<text class="label">部 门: </text>
|
||||
<text class="infoSpan">{{ item.orgName }}</text>
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<view class="info-item" v-if="item.userType!=3">
|
||||
<text class="label">婚姻状况: </text>
|
||||
<text class="infoSpan">{{ item.marriageState }}</text>
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<view class="info-item" v-if="item.userType!=3">
|
||||
<text class="label">房查照片: </text>
|
||||
<view class="img-list">
|
||||
<image v-for="(itemImg,imgIndex) in item.roomInspection" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<text class="label" style="width: 180rpx;">身份证照片: </text>
|
||||
<view class="img-list">
|
||||
<image v-for="(itemImg,imgIndex) in item.idCardImg" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="info-item" v-if="item.userType==3">
|
||||
<text class="label">附件: </text>
|
||||
<view class="img-list">
|
||||
<image v-for="(itemImg,imgIndex) in item.attachment" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="info-item" v-if="item.userType==2">
|
||||
<text class="label">工作岗位: </text>
|
||||
<text class="infoSpan">{{ item.position }}</text>
|
||||
</view>
|
||||
|
|
@ -55,28 +68,35 @@
|
|||
<text class="label">申请日期: </text>
|
||||
<text class="infoSpan">{{ formatDate(item.applyTime,'dateTime') }}</text>
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<view class="info-item" v-if="item.userType!=3">
|
||||
<text class="label">申请事由: </text>
|
||||
<text class="infoSpan">{{ item.applyCause }}</text>
|
||||
</view>
|
||||
<view class="info-item" v-if="(examineBatch>=2||item.houseId)&&item.examineState!=2">
|
||||
<view class="info-item" v-if="queryType==0&&item.checkType==1&&item.checkOperat==1">
|
||||
<text class="label">分配房源: </text>
|
||||
<text class="infoSpan" @click="houseSelect" style="color:aquamarine;" v-if="!item.houseId">{{ chosenHouse }}</text>
|
||||
<text class="infoSpan" v-if="item.houseId">{{item.houseName}}</text>
|
||||
<text class="infoSpan" @click="houseSelect" style="color:aquamarine;" >{{ chosenHouse }}</text>
|
||||
</view>
|
||||
<view class="info-item" v-if="(examineBatch>=2||item.houseId)&&item.examineState!=2">
|
||||
<view class="info-item" v-if="queryType==0&&item.checkType==1&&item.checkOperat==1">
|
||||
<text class="label">租金: </text>
|
||||
<text class="infoSpan" v-if="!item.houseId">{{ chosenHouseCost }}元</text>
|
||||
<text class="infoSpan" v-if="item.houseId">{{ item.rent }}元</text>
|
||||
<text class="infoSpan">{{ chosenHouseCost }}元</text>
|
||||
</view>
|
||||
<view class="info-item" v-if="item.houseId">
|
||||
<text class="label">分配房源: </text>
|
||||
<text class="infoSpan">{{item.houseName}}-{{item.houseCode}}</text>
|
||||
</view>
|
||||
<view class="info-item" v-if="item.houseId">
|
||||
<text class="label">租金: </text>
|
||||
<text class="infoSpan">{{ item.rent }}元</text>
|
||||
</view>
|
||||
|
||||
<view v-if="examineBatch==2&&item.examineState=='1'&&item.isUpload=='2'">
|
||||
|
||||
<view v-if="queryType=='0'&&item.checkType=='1'&&item.checkOperat=='2'">
|
||||
<view class="info-item">
|
||||
<text class="label">合同期限<text style="color: red;">*</text>:</text>
|
||||
<view class="infoSpan"><uni-datetime-picker :clear-icon="false" v-model="dateRange" type="daterange"/></view>
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<text class="label">合同照片<text style="color: red;">*</text>: </text>
|
||||
<text class="label">合同照片<text style="color: red;">*</text>:</text>
|
||||
<view class="pic" style="border-bottom: 1px solid #eee;">
|
||||
<view class="img-box">
|
||||
<view class="img-item" v-for="(item, index) in imgs1" :key="index">
|
||||
|
|
@ -92,7 +112,7 @@
|
|||
</view>
|
||||
<view style="font-size: 28rpx;font-weight: 600;color: red;border-bottom: 1px solid #eee;">互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!</view>
|
||||
<view class="info-item">
|
||||
<text class="label">缴费凭证<text style="color: red;">*</text>: </text>
|
||||
<text class="label">缴费凭证<text style="color: red;">*</text>: </text>
|
||||
<view class="pic" style="border-bottom: 1px solid #eee;">
|
||||
<view class="img-box">
|
||||
<view class="img-item" v-for="(item, index) in imgs2" :key="index">
|
||||
|
|
@ -108,7 +128,7 @@
|
|||
<view style="font-size: 28rpx;font-weight: 600;color: red;border-bottom: 1px solid #eee;">互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!</view>
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<text class="label" style="width: 200upx;">入住房间照片:</text>
|
||||
<text class="label" style="width: 200upx;">入住房间照片<text style="color: red;">*</text>:</text>
|
||||
<view class="pic" style="border-bottom: 1px solid #eee;">
|
||||
<view class="img-box">
|
||||
<view class="img-item" v-for="(item, index) in imgs3" :key="index">
|
||||
|
|
@ -147,19 +167,20 @@
|
|||
<uni-th width="80" align="left">名称</uni-th>
|
||||
<uni-th width="80" align="left">品牌</uni-th>
|
||||
<uni-th width="60" align="left">型号</uni-th>
|
||||
<uni-th width="60" align="left">价格</uni-th>
|
||||
<uni-th width="60" align="left">数量</uni-th>
|
||||
</uni-tr>
|
||||
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
|
||||
<uni-td align="left">{{ items.name }}</uni-td>
|
||||
<uni-td align="left">{{ items.brand }}</uni-td>
|
||||
<uni-td align="left">{{ items.model }}</uni-td>
|
||||
<uni-td align="left">{{ items.price }}</uni-td>
|
||||
<uni-td align="left">{{ items.num }}</uni-td>
|
||||
</uni-tr>
|
||||
|
||||
</uni-table>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<view v-if="item.isUpload=='3'">
|
||||
|
|
@ -360,12 +381,14 @@
|
|||
<uni-th width="80" align="left">名称</uni-th>
|
||||
<uni-th width="80" align="left">品牌</uni-th>
|
||||
<uni-th width="60" align="left">型号</uni-th>
|
||||
<uni-th width="60" align="left">价格</uni-th>
|
||||
<uni-th width="60" align="left">数量</uni-th>
|
||||
</uni-tr>
|
||||
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
|
||||
<uni-td align="left">{{ items.name }}</uni-td>
|
||||
<uni-td align="left">{{ items.brand }}</uni-td>
|
||||
<uni-td align="left">{{ items.model }}</uni-td>
|
||||
<uni-td align="left">{{ items.price }}</uni-td>
|
||||
<uni-td align="left">{{ items.num }}</uni-td>
|
||||
</uni-tr>
|
||||
|
||||
|
|
@ -381,12 +404,14 @@
|
|||
<uni-th width="80" align="left">名称</uni-th>
|
||||
<uni-th width="80" align="left">品牌</uni-th>
|
||||
<uni-th width="60" align="left">型号</uni-th>
|
||||
<uni-th width="60" align="left">价格</uni-th>
|
||||
<uni-th width="60" align="left">数量</uni-th>
|
||||
</uni-tr>
|
||||
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
|
||||
<uni-td align="left">{{ items.name }}</uni-td>
|
||||
<uni-td align="left">{{ items.brand }}</uni-td>
|
||||
<uni-td align="left">{{ items.model }}</uni-td>
|
||||
<uni-td align="left">{{ items.price }}</uni-td>
|
||||
<uni-td align="left">{{ items.num }}</uni-td>
|
||||
</uni-tr>
|
||||
|
||||
|
|
@ -401,12 +426,14 @@
|
|||
<uni-th width="80" align="left">名称</uni-th>
|
||||
<uni-th width="80" align="left">品牌</uni-th>
|
||||
<uni-th width="60" align="left">型号</uni-th>
|
||||
<uni-th width="60" align="left">价格</uni-th>
|
||||
<uni-th width="60" align="left">数量</uni-th>
|
||||
</uni-tr>
|
||||
<uni-tr v-for="(items, indexs) in devicesList2" :key="indexs">
|
||||
<uni-td align="left">{{ items.name }}</uni-td>
|
||||
<uni-td align="left">{{ items.brand }}</uni-td>
|
||||
<uni-td align="left">{{ items.model }}</uni-td>
|
||||
<uni-td align="left">{{ items.price }}</uni-td>
|
||||
<uni-td align="left">{{ items.num }}</uni-td>
|
||||
</uni-tr>
|
||||
|
||||
|
|
@ -482,33 +509,37 @@
|
|||
</view>
|
||||
<view class="occupied" style="height: 180upx;"></view>
|
||||
|
||||
<view v-if="queryType==1 && examineButton" style="position: fixed;bottom:0upx;height: 50upx;width: 100%;z-index: 9;">
|
||||
<view v-if="queryType==0&&item.checkType==2" style="position: fixed;bottom:0upx;height: 50upx;width: 100%;z-index: 9;">
|
||||
<view>
|
||||
<view class="footer-btn footer-btn-two batchBtn" v-if="examineBatch!=2">
|
||||
<view class="footer-btn footer-btn-two batchBtn">
|
||||
<view class="btn btn-col btn1" @click="circulation()">拒绝</view>
|
||||
<view class="btn btn-col1 btn2" @click="submit(1)">通过</view>
|
||||
</view>
|
||||
<view class="footer-btn" v-if="examineBatch==2">
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="queryType==0&&item.checkType==1&&item.checkOperat==1" style="position: fixed;bottom:0upx;height: 50upx;width: 100%;z-index: 9;">
|
||||
<view>
|
||||
<view class="footer-btn">
|
||||
<view class="btn" @click="saveHouse">确认</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view v-if="examineBatch==2&&item.examineState=='1'&&item.isUpload=='2'" style="position: fixed;bottom:0upx;height: 50upx;width: 100%;z-index: 9;">
|
||||
<view v-if="queryType=='0'&&item.checkType=='1'&&item.checkOperat=='2'" style="position: fixed;bottom:0upx;height: 50upx;width: 100%;z-index: 9;">
|
||||
<view>
|
||||
<view class="footer-btn" v-if="examineBatch==2">
|
||||
<view class="footer-btn">
|
||||
<view class="btn" @click="saveContract">确认上传</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view v-if="examineBatch==2&&item.examineState=='4'" style="position: fixed;bottom:0upx;height: 50upx;width: 100%;z-index: 9;">
|
||||
<!-- <view v-if="examineBatch==2&&item.examineState=='4'" style="position: fixed;bottom:0upx;height: 50upx;width: 100%;z-index: 9;">
|
||||
<view>
|
||||
<view class="footer-btn">
|
||||
<view class="btn" @click="checkOutHouse">确认退租</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<uni-popup ref="popup" @change="show(arguments)" type="center" style="">
|
||||
<view style="background: white;width: 80%;height: 540upx;width: 600upx;position: relative;border-radius: 10upx;padding: 14upx;">
|
||||
|
|
@ -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<details.length;i++){
|
||||
let obj = details[i];
|
||||
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;
|
||||
// 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({
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
<image src="/static/img/houseIcon.png" mode="" style="width: 35upx;height: 40upx;margin-left: 20upx;vertical-align: middle;"></image>
|
||||
<text class="font-tilte">存量房申请</text>
|
||||
<text v-if="item.examineState ==0&&item.examineBatch==1" class="statusred" style="color: #ff9000;background-color: #FFEFE3;" >待审核</text>
|
||||
<text v-if="item.examineState ==0&&item.examineBatch>1" class="statusred" style="color: #ff9000;background-color: #FFEFE3;" >审核中</text>
|
||||
<text v-if="(item.examineState ==0||item.examineState ==3)&&item.examineBatch>1" class="statusred" style="color: #ff9000;background-color: #FFEFE3;" >审核中</text>
|
||||
<text v-if="item.examineState ==1&&item.isUpload!='2'" class="statusred" style="color: #ff9000;background-color: #FFEFE3;">审核中</text>
|
||||
<text v-if="item.examineState ==1&&item.isUpload=='2'" class="statusred" style="color: #ff9000;background-color: #FFEFE3;">待上传合同</text>
|
||||
<text v-if="item.examineState ==2" class="statusred" style="color: #BD1515;background-color: #F6DFDF;">已拒绝</text>
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
<text>联系电话:</text>
|
||||
<text class="infoSpan">{{ item.phone }}</text>
|
||||
</view>
|
||||
<view class="info-item" @click="detail(item)">
|
||||
<view class="info-item" @click="detail(item)" v-if="item.userType!=3">
|
||||
<text>部 门:</text>
|
||||
<text class="infoSpan">{{ item.orgName }}</text>
|
||||
</view>
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
<image src="/static/img/houseIcon.png" mode="" style="width: 35upx;height: 40upx;margin-left: 20upx;vertical-align: middle;"></image>
|
||||
<text class="font-tilte">存量房申请</text>
|
||||
<text v-if="item.examineState ==0&&item.examineBatch==1" class="statusred" style="color: #ff9000;background-color: #FFEFE3;" >待审核</text>
|
||||
<text v-if="item.examineState ==0&&item.examineBatch>1" class="statusred" style="color: #ff9000;background-color: #FFEFE3;" >审核中</text>
|
||||
<text v-if="(item.examineState ==0||item.examineState ==3)&&item.examineBatch>1" class="statusred" style="color: #ff9000;background-color: #FFEFE3;" >审核中</text>
|
||||
<text v-if="item.examineState ==1&&item.isUpload!='2'" class="statusred" style="color: #ff9000;background-color: #FFEFE3;">审核中</text>
|
||||
<text v-if="item.examineState ==1&&item.isUpload=='2'" class="statusred" style="color: #ff9000;background-color: #FFEFE3;">待上传合同</text>
|
||||
<text v-if="item.examineState ==2" class="statusred" style="color: #BD1515;background-color: #F6DFDF;">已拒绝</text>
|
||||
|
|
@ -77,7 +77,7 @@
|
|||
<text>联系电话:</text>
|
||||
<text class="infoSpan">{{ item.phone }}</text>
|
||||
</view>
|
||||
<view class="info-item" @click="detail(item)">
|
||||
<view class="info-item" @click="detail(item)" v-if="item.userType!=3">
|
||||
<text>部 门:</text>
|
||||
<text class="infoSpan">{{ item.orgName }}</text>
|
||||
</view>
|
||||
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@
|
|||
<image src="/static/img/houseIcon.png" mode="" style="width: 35upx;height: 40upx;margin-left: 20upx;vertical-align: middle;"></image>
|
||||
<text class="font-tilte">存量房申请</text>
|
||||
<text v-if="item.examineState ==0&&item.examineBatch==1" class="statusred" style="color: #ff9000;background-color: #FFEFE3;" >待审核</text>
|
||||
<text v-if="item.examineState ==0&&item.examineBatch>1" class="statusred" style="color: #ff9000;background-color: #FFEFE3;" >审核中</text>
|
||||
<text v-if="(item.examineState ==0||item.examineState ==3)&&item.examineBatch>1" class="statusred" style="color: #ff9000;background-color: #FFEFE3;" >审核中</text>
|
||||
<text v-if="item.examineState ==1&&item.isUpload!='2'" class="statusred" style="color: #ff9000;background-color: #FFEFE3;">审核中</text>
|
||||
<text v-if="item.examineState ==1&&item.isUpload=='2'" class="statusred" style="color: #ff9000;background-color: #FFEFE3;">待上传合同</text>
|
||||
<text v-if="item.examineState ==2" class="statusred" style="color: #BD1515;background-color: #F6DFDF;">已拒绝</text>
|
||||
|
|
@ -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 {
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue