租房申请审核流程对接
This commit is contained in:
parent
bc60d8000d
commit
353e6c8bde
|
|
@ -25,21 +25,34 @@
|
||||||
<text class="label">联系方式: </text>
|
<text class="label">联系方式: </text>
|
||||||
<text class="infoSpan" >{{ item.phone }}</text>
|
<text class="infoSpan" >{{ item.phone }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item">
|
<view class="info-item" v-if="item.userType!=3">
|
||||||
<text class="label">部 门: </text>
|
<text class="label">部 门: </text>
|
||||||
<text class="infoSpan">{{ item.orgName }}</text>
|
<text class="infoSpan">{{ item.orgName }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item">
|
<view class="info-item" v-if="item.userType!=3">
|
||||||
<text class="label">婚姻状况: </text>
|
<text class="label">婚姻状况: </text>
|
||||||
<text class="infoSpan">{{ item.marriageState }}</text>
|
<text class="infoSpan">{{ item.marriageState }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item">
|
<view class="info-item" v-if="item.userType!=3">
|
||||||
<text class="label">房查照片: </text>
|
<text class="label">房查照片: </text>
|
||||||
<view class="img-box">
|
<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>
|
<image v-for="(itemImg,imgIndex) in item.roomInspection" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item">
|
<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="label">工作岗位: </text>
|
||||||
<text class="infoSpan">{{ item.position }}</text>
|
<text class="infoSpan">{{ item.position }}</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -55,13 +68,13 @@
|
||||||
<text class="label">申请日期: </text>
|
<text class="label">申请日期: </text>
|
||||||
<text class="infoSpan">{{ formatDate(item.applyTime,'dateTime') }}</text>
|
<text class="infoSpan">{{ formatDate(item.applyTime,'dateTime') }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item">
|
<view class="info-item" v-if="item.userType!=3">
|
||||||
<text class="label">申请事由: </text>
|
<text class="label">申请事由: </text>
|
||||||
<text class="infoSpan">{{ item.applyCause }}</text>
|
<text class="infoSpan">{{ item.applyCause }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item" v-if="item.houseId">
|
<view class="info-item" v-if="item.houseId">
|
||||||
<text class="label">分配房源: </text>
|
<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>
|
||||||
<view class="info-item" v-if="item.houseId">
|
<view class="info-item" v-if="item.houseId">
|
||||||
<text class="label">租金: </text>
|
<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="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-th width="60" align="left">数量</uni-th>
|
<uni-th width="60" align="left">数量</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
|
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
|
||||||
<uni-td align="left">{{ items.name }}</uni-td>
|
<uni-td align="left">{{ items.name }}</uni-td>
|
||||||
<uni-td align="left">{{ items.brand }}</uni-td>
|
<uni-td align="left">{{ items.brand }}</uni-td>
|
||||||
<uni-td align="left">{{ items.model }}</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-td align="left">{{ items.num }}</uni-td>
|
||||||
</uni-tr>
|
</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="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-th width="60" align="left">数量</uni-th>
|
<uni-th width="60" align="left">数量</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
|
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
|
||||||
<uni-td align="left">{{ items.name }}</uni-td>
|
<uni-td align="left">{{ items.name }}</uni-td>
|
||||||
<uni-td align="left">{{ items.brand }}</uni-td>
|
<uni-td align="left">{{ items.brand }}</uni-td>
|
||||||
<uni-td align="left">{{ items.model }}</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-td align="left">{{ items.num }}</uni-td>
|
||||||
</uni-tr>
|
</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="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-th width="60" align="left">数量</uni-th>
|
<uni-th width="60" align="left">数量</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(items, indexs) in devicesList2" :key="indexs">
|
<uni-tr v-for="(items, indexs) in devicesList2" :key="indexs">
|
||||||
<uni-td align="left">{{ items.name }}</uni-td>
|
<uni-td align="left">{{ items.name }}</uni-td>
|
||||||
<uni-td align="left">{{ items.brand }}</uni-td>
|
<uni-td align="left">{{ items.brand }}</uni-td>
|
||||||
<uni-td align="left">{{ items.model }}</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-td align="left">{{ items.num }}</uni-td>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
|
|
||||||
|
|
@ -236,7 +255,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="occupied" style="height: 180upx;"></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>
|
||||||
<view class="footer-btn footer-btn-two batchBtn" v-if="examineBatch!=2">
|
<view class="footer-btn footer-btn-two batchBtn" v-if="examineBatch!=2">
|
||||||
<view class="btn btn-col btn1" @click="circulation()">拒绝</view>
|
<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 class="btn btn-col1" style="width:40%;border-radius: 10upx" @click="submit(2)">确定</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</uni-popup>
|
</uni-popup> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -405,7 +424,9 @@
|
||||||
res = res.data;
|
res = res.data;
|
||||||
if ( res.returnCode === "1"){
|
if ( res.returnCode === "1"){
|
||||||
_this.item = res.returnData[0];
|
_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){
|
if(_this.item.photo){
|
||||||
_this.item.photo = _this.item.photo.split(',')
|
_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 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 ==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 ==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>
|
<text v-if="item.examineState ==2" class="infoSpan" style="color: red;">已拒绝</text>
|
||||||
|
|
@ -25,21 +26,33 @@
|
||||||
<text class="label">联系方式: </text>
|
<text class="label">联系方式: </text>
|
||||||
<text class="infoSpan" >{{ item.phone }}</text>
|
<text class="infoSpan" >{{ item.phone }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item">
|
<view class="info-item" v-if="item.userType!=3">
|
||||||
<text class="label">部 门: </text>
|
<text class="label">部 门: </text>
|
||||||
<text class="infoSpan">{{ item.orgName }}</text>
|
<text class="infoSpan">{{ item.orgName }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item">
|
<view class="info-item" v-if="item.userType!=3">
|
||||||
<text class="label">婚姻状况: </text>
|
<text class="label">婚姻状况: </text>
|
||||||
<text class="infoSpan">{{ item.marriageState }}</text>
|
<text class="infoSpan">{{ item.marriageState }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item">
|
<view class="info-item" v-if="item.userType!=3">
|
||||||
<text class="label">房查照片: </text>
|
<text class="label">房查照片: </text>
|
||||||
<view class="img-list">
|
<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>
|
<image v-for="(itemImg,imgIndex) in item.roomInspection" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item">
|
<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="label">工作岗位: </text>
|
||||||
<text class="infoSpan">{{ item.position }}</text>
|
<text class="infoSpan">{{ item.position }}</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -55,28 +68,35 @@
|
||||||
<text class="label">申请日期: </text>
|
<text class="label">申请日期: </text>
|
||||||
<text class="infoSpan">{{ formatDate(item.applyTime,'dateTime') }}</text>
|
<text class="infoSpan">{{ formatDate(item.applyTime,'dateTime') }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item">
|
<view class="info-item" v-if="item.userType!=3">
|
||||||
<text class="label">申请事由: </text>
|
<text class="label">申请事由: </text>
|
||||||
<text class="infoSpan">{{ item.applyCause }}</text>
|
<text class="infoSpan">{{ item.applyCause }}</text>
|
||||||
</view>
|
</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="label">分配房源: </text>
|
||||||
<text class="infoSpan" @click="houseSelect" style="color:aquamarine;" v-if="!item.houseId">{{ chosenHouse }}</text>
|
<text class="infoSpan" @click="houseSelect" style="color:aquamarine;" >{{ chosenHouse }}</text>
|
||||||
<text class="infoSpan" v-if="item.houseId">{{item.houseName}}</text>
|
</view>
|
||||||
</view>
|
<view class="info-item" v-if="queryType==0&&item.checkType==1&&item.checkOperat==1">
|
||||||
<view class="info-item" v-if="(examineBatch>=2||item.houseId)&&item.examineState!=2">
|
|
||||||
<text class="label">租金: </text>
|
<text class="label">租金: </text>
|
||||||
<text class="infoSpan" v-if="!item.houseId">{{ chosenHouseCost }}元</text>
|
<text class="infoSpan">{{ chosenHouseCost }}元</text>
|
||||||
<text class="infoSpan" v-if="item.houseId">{{ item.rent }}元</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>
|
||||||
|
|
||||||
<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">
|
<view class="info-item">
|
||||||
<text class="label">合同期限<text style="color: red;">*</text>:</text>
|
<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 class="infoSpan"><uni-datetime-picker :clear-icon="false" v-model="dateRange" type="daterange"/></view>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item">
|
<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="pic" style="border-bottom: 1px solid #eee;">
|
||||||
<view class="img-box">
|
<view class="img-box">
|
||||||
<view class="img-item" v-for="(item, index) in imgs1" :key="index">
|
<view class="img-item" v-for="(item, index) in imgs1" :key="index">
|
||||||
|
|
@ -92,7 +112,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view style="font-size: 28rpx;font-weight: 600;color: red;border-bottom: 1px solid #eee;">互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!</view>
|
<view style="font-size: 28rpx;font-weight: 600;color: red;border-bottom: 1px solid #eee;">互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!</view>
|
||||||
<view class="info-item">
|
<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="pic" style="border-bottom: 1px solid #eee;">
|
||||||
<view class="img-box">
|
<view class="img-box">
|
||||||
<view class="img-item" v-for="(item, index) in imgs2" :key="index">
|
<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 style="font-size: 28rpx;font-weight: 600;color: red;border-bottom: 1px solid #eee;">互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item">
|
<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="pic" style="border-bottom: 1px solid #eee;">
|
||||||
<view class="img-box">
|
<view class="img-box">
|
||||||
<view class="img-item" v-for="(item, index) in imgs3" :key="index">
|
<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="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-th width="60" align="left">数量</uni-th>
|
<uni-th width="60" align="left">数量</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
|
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
|
||||||
<uni-td align="left">{{ items.name }}</uni-td>
|
<uni-td align="left">{{ items.name }}</uni-td>
|
||||||
<uni-td align="left">{{ items.brand }}</uni-td>
|
<uni-td align="left">{{ items.brand }}</uni-td>
|
||||||
<uni-td align="left">{{ items.model }}</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-td align="left">{{ items.num }}</uni-td>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
|
|
||||||
</uni-table>
|
</uni-table>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view v-if="item.isUpload=='3'">
|
<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="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-th width="60" align="left">数量</uni-th>
|
<uni-th width="60" align="left">数量</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
|
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
|
||||||
<uni-td align="left">{{ items.name }}</uni-td>
|
<uni-td align="left">{{ items.name }}</uni-td>
|
||||||
<uni-td align="left">{{ items.brand }}</uni-td>
|
<uni-td align="left">{{ items.brand }}</uni-td>
|
||||||
<uni-td align="left">{{ items.model }}</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-td align="left">{{ items.num }}</uni-td>
|
||||||
</uni-tr>
|
</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="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-th width="60" align="left">数量</uni-th>
|
<uni-th width="60" align="left">数量</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
|
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
|
||||||
<uni-td align="left">{{ items.name }}</uni-td>
|
<uni-td align="left">{{ items.name }}</uni-td>
|
||||||
<uni-td align="left">{{ items.brand }}</uni-td>
|
<uni-td align="left">{{ items.brand }}</uni-td>
|
||||||
<uni-td align="left">{{ items.model }}</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-td align="left">{{ items.num }}</uni-td>
|
||||||
</uni-tr>
|
</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="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-th width="60" align="left">数量</uni-th>
|
<uni-th width="60" align="left">数量</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(items, indexs) in devicesList2" :key="indexs">
|
<uni-tr v-for="(items, indexs) in devicesList2" :key="indexs">
|
||||||
<uni-td align="left">{{ items.name }}</uni-td>
|
<uni-td align="left">{{ items.name }}</uni-td>
|
||||||
<uni-td align="left">{{ items.brand }}</uni-td>
|
<uni-td align="left">{{ items.brand }}</uni-td>
|
||||||
<uni-td align="left">{{ items.model }}</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-td align="left">{{ items.num }}</uni-td>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
|
|
||||||
|
|
@ -482,33 +509,37 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="occupied" style="height: 180upx;"></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>
|
||||||
<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-col btn1" @click="circulation()">拒绝</view>
|
||||||
<view class="btn btn-col1 btn2" @click="submit(1)">通过</view>
|
<view class="btn btn-col1 btn2" @click="submit(1)">通过</view>
|
||||||
</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 class="btn" @click="saveHouse">确认</view>
|
||||||
</view>
|
</view>
|
||||||
</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>
|
||||||
<view class="footer-btn" v-if="examineBatch==2">
|
<view class="footer-btn">
|
||||||
<view class="btn" @click="saveContract">确认上传</view>
|
<view class="btn" @click="saveContract">确认上传</view>
|
||||||
</view>
|
</view>
|
||||||
</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>
|
||||||
<view class="footer-btn">
|
<view class="footer-btn">
|
||||||
<view class="btn" @click="checkOutHouse">确认退租</view>
|
<view class="btn" @click="checkOutHouse">确认退租</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
|
|
||||||
<uni-popup ref="popup" @change="show(arguments)" type="center" style="">
|
<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;">
|
<view style="background: white;width: 80%;height: 540upx;width: 600upx;position: relative;border-radius: 10upx;padding: 14upx;">
|
||||||
|
|
@ -561,7 +592,7 @@
|
||||||
formatDate:formatDate,
|
formatDate:formatDate,
|
||||||
item: {},
|
item: {},
|
||||||
id:0,
|
id:0,
|
||||||
queryType:0,
|
queryType:0,//0待审核进入,1已审核进入
|
||||||
replyContent:'',
|
replyContent:'',
|
||||||
userId: getStorage('userInfo').id,
|
userId: getStorage('userInfo').id,
|
||||||
imgs:[],
|
imgs:[],
|
||||||
|
|
@ -698,6 +729,8 @@
|
||||||
if ( res.returnCode === "1"){
|
if ( res.returnCode === "1"){
|
||||||
_this.item = res.returnData[0];
|
_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){
|
if(_this.item.photo){
|
||||||
_this.item.photo = _this.item.photo.split(',')
|
_this.item.photo = _this.item.photo.split(',')
|
||||||
}
|
}
|
||||||
|
|
@ -770,14 +803,14 @@
|
||||||
let details = res.returnData[0].detail||[]
|
let details = res.returnData[0].detail||[]
|
||||||
for(let i=0;i<details.length;i++){
|
for(let i=0;i<details.length;i++){
|
||||||
let obj = details[i];
|
let obj = details[i];
|
||||||
if(_this.examineBatch == obj.examineBatch){
|
// if(_this.examineBatch == obj.examineBatch){
|
||||||
setTimeout(()=>{_this.examineButton = false;},400)
|
// setTimeout(()=>{_this.examineButton = false;},400)
|
||||||
// _this.examineButton = false;
|
// // _this.examineButton = false;
|
||||||
}
|
// }
|
||||||
}
|
|
||||||
if(_this.item.examineState==0&&_this.examineBatch==_this.item.examineBatch){
|
|
||||||
_this.examineButton = true;
|
|
||||||
}
|
}
|
||||||
|
// if(_this.item.examineState==0&&_this.examineBatch==_this.item.examineBatch){
|
||||||
|
// _this.examineButton = true;
|
||||||
|
// }
|
||||||
_this.process=[];
|
_this.process=[];
|
||||||
// console.log(obj.examineState!=0)
|
// console.log(obj.examineState!=0)
|
||||||
if(_this.process.length==0){
|
if(_this.process.length==0){
|
||||||
|
|
@ -1074,10 +1107,6 @@
|
||||||
submit(examineState){
|
submit(examineState){
|
||||||
this.examineButton = false;
|
this.examineButton = false;
|
||||||
//examineState 1通过,2不通过
|
//examineState 1通过,2不通过
|
||||||
let isUpload=''
|
|
||||||
if(this.examineBatch==2&&this.item.isUpload=='2'){
|
|
||||||
isUpload = this.item.isUpload
|
|
||||||
}
|
|
||||||
let params = {
|
let params = {
|
||||||
"method": greenHouseExamine,
|
"method": greenHouseExamine,
|
||||||
"data":{
|
"data":{
|
||||||
|
|
@ -1085,16 +1114,22 @@
|
||||||
houseId: this.item.houseId || '',
|
houseId: this.item.houseId || '',
|
||||||
userId:getStorage('userInfo').id,
|
userId:getStorage('userInfo').id,
|
||||||
userName:getStorage('userInfo').userName,
|
userName:getStorage('userInfo').userName,
|
||||||
isUpload:isUpload,
|
isUpload:'',
|
||||||
examineState:examineState+'',
|
examineState:examineState+'',
|
||||||
examineOpinion:this.replyContent,
|
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 => {
|
callbackRequest(params).then(res => {
|
||||||
res = res.data;
|
res = res.data;
|
||||||
if (res.returnCode == 1) {
|
if (res.returnCode == 1) {
|
||||||
alertTip(res.returnMsg);
|
alertTip(res.returnMsg);
|
||||||
|
this.queryType=1
|
||||||
this.closeCirculation();
|
this.closeCirculation();
|
||||||
this.greenHouseDetail();
|
this.greenHouseDetail();
|
||||||
// uni.navigateBack({
|
// 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>
|
<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 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.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 ==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>
|
<text v-if="item.examineState ==2" class="statusred" style="color: #BD1515;background-color: #F6DFDF;">已拒绝</text>
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
<text>联系电话:</text>
|
<text>联系电话:</text>
|
||||||
<text class="infoSpan">{{ item.phone }}</text>
|
<text class="infoSpan">{{ item.phone }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item" @click="detail(item)">
|
<view class="info-item" @click="detail(item)" v-if="item.userType!=3">
|
||||||
<text>部 门:</text>
|
<text>部 门:</text>
|
||||||
<text class="infoSpan">{{ item.orgName }}</text>
|
<text class="infoSpan">{{ item.orgName }}</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -58,7 +58,7 @@
|
||||||
<image src="/static/img/houseIcon.png" mode="" style="width: 35upx;height: 40upx;margin-left: 20upx;vertical-align: middle;"></image>
|
<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 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.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 ==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>
|
<text v-if="item.examineState ==2" class="statusred" style="color: #BD1515;background-color: #F6DFDF;">已拒绝</text>
|
||||||
|
|
@ -77,7 +77,7 @@
|
||||||
<text>联系电话:</text>
|
<text>联系电话:</text>
|
||||||
<text class="infoSpan">{{ item.phone }}</text>
|
<text class="infoSpan">{{ item.phone }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item" @click="detail(item)">
|
<view class="info-item" @click="detail(item)" v-if="item.userType!=3">
|
||||||
<text>部 门:</text>
|
<text>部 门:</text>
|
||||||
<text class="infoSpan">{{ item.orgName }}</text>
|
<text class="infoSpan">{{ item.orgName }}</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -155,11 +155,11 @@ export default {
|
||||||
if (this.currentTabIndex==0) {
|
if (this.currentTabIndex==0) {
|
||||||
this.page0 = 1;
|
this.page0 = 1;
|
||||||
this.loadingType0 = 0;
|
this.loadingType0 = 0;
|
||||||
|
this.list0 = []
|
||||||
}else if (this.currentTabIndex==1) {
|
}else if (this.currentTabIndex==1) {
|
||||||
this.page1 = 1;
|
this.page1 = 1;
|
||||||
this.loadingType1 = 0;
|
this.loadingType1 = 0;
|
||||||
|
this.list1 = []
|
||||||
}
|
}
|
||||||
this.greenHouseExaminePage();
|
this.greenHouseExaminePage();
|
||||||
}
|
}
|
||||||
|
|
@ -175,7 +175,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
detail(item) {
|
detail(item) {
|
||||||
uni.navigateTo({
|
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() {
|
greenHouseExaminePage() {
|
||||||
|
|
|
||||||
|
|
@ -167,7 +167,7 @@
|
||||||
<image src="/static/img/houseIcon.png" mode="" style="width: 35upx;height: 40upx;margin-left: 20upx;vertical-align: middle;"></image>
|
<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 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.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 ==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>
|
<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.roomInspection=this.imgsId1.toString();
|
||||||
//身份证照片
|
//身份证照片
|
||||||
|
this.houseApply.idCardImg=this.imgsId2.toString();
|
||||||
|
|
||||||
}else if(this.houseApply.userType==2){
|
}else if(this.houseApply.userType==2){
|
||||||
if (!this.houseApply.userName) {
|
if (!this.houseApply.userName) {
|
||||||
|
|
@ -446,10 +447,12 @@ export default {
|
||||||
this.submitFlag = true;
|
this.submitFlag = true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
this.houseApply.userId = getStorage('userInfo').userId,
|
||||||
|
this.houseApply.orgId = getStorage('userInfo').department_id,
|
||||||
//房查照片
|
//房查照片
|
||||||
this.houseApply.roomInspection=this.imgsId1.toString();
|
this.houseApply.roomInspection=this.imgsId1.toString();
|
||||||
//身份证照片
|
//身份证
|
||||||
// this.houseApply. = this.imgsId2.toString();
|
this.houseApply.idCardImg=this.imgsId2.toString();
|
||||||
}else if(this.houseApply.userType==3){
|
}else if(this.houseApply.userType==3){
|
||||||
if (!this.houseApply.userName) {
|
if (!this.houseApply.userName) {
|
||||||
alertTip('请输入姓名');
|
alertTip('请输入姓名');
|
||||||
|
|
@ -476,10 +479,12 @@ export default {
|
||||||
this.submitFlag = true;
|
this.submitFlag = true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
//身份证照片
|
this.houseApply.userId = getStorage('userInfo').userId,
|
||||||
// this.houseApply. = this.imgsId2.toString();
|
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 = {
|
let params = {
|
||||||
method: greenHouseApply,
|
method: greenHouseApply,
|
||||||
|
|
@ -491,12 +496,12 @@ export default {
|
||||||
if (res.returnCode == 1) {
|
if (res.returnCode == 1) {
|
||||||
this.submitFlag = true;
|
this.submitFlag = true;
|
||||||
alertTip(res.returnMsg);
|
alertTip(res.returnMsg);
|
||||||
if(this.houseApply.userType==2){
|
// if(this.houseApply.userType==2){
|
||||||
//外部人员提交后走一次选房审批产生记录
|
//外部人员提交后走一次选房审批产生记录
|
||||||
setTimeout(_ => {
|
// setTimeout(_ => {
|
||||||
this.examine(res.returnData,this.houseApply.houseId)
|
// this.examine(res.returnData,this.houseApply.houseId)
|
||||||
}, 1000);
|
// }, 1000);
|
||||||
}
|
// }
|
||||||
setTimeout(_ => {
|
setTimeout(_ => {
|
||||||
this.houseApply.marriageState ='未婚';
|
this.houseApply.marriageState ='未婚';
|
||||||
this.houseApply.position ='';
|
this.houseApply.position ='';
|
||||||
|
|
@ -505,6 +510,8 @@ export default {
|
||||||
this.houseApply.userType = this.userTypes[this.userTypeIndex].id;
|
this.houseApply.userType = this.userTypes[this.userTypeIndex].id;
|
||||||
this.houseTypeIndex = 0;
|
this.houseTypeIndex = 0;
|
||||||
this.houseApply.houseType = this.houseType[this.houseTypeIndex].id;
|
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.userName=getStorage('userInfo').userName;
|
||||||
this.houseApply.phone=getStorage('userInfo').mobile;
|
this.houseApply.phone=getStorage('userInfo').mobile;
|
||||||
this.houseApply.orgName=getStorage('userInfo').departmentName;
|
this.houseApply.orgName=getStorage('userInfo').departmentName;
|
||||||
|
|
@ -542,8 +549,7 @@ export default {
|
||||||
this.houseApply.userName=getStorage('userInfo').userName
|
this.houseApply.userName=getStorage('userInfo').userName
|
||||||
this.houseApply.phone=getStorage('userInfo').mobile
|
this.houseApply.phone=getStorage('userInfo').mobile
|
||||||
this.houseApply.orgName=getStorage('userInfo').departmentName
|
this.houseApply.orgName=getStorage('userInfo').departmentName
|
||||||
}
|
}else{
|
||||||
if(this.houseApply.userType==2){
|
|
||||||
this.houseApply.userName=''
|
this.houseApply.userName=''
|
||||||
this.houseApply.phone=''
|
this.houseApply.phone=''
|
||||||
this.houseApply.orgName=''
|
this.houseApply.orgName=''
|
||||||
|
|
@ -556,6 +562,8 @@ export default {
|
||||||
changeHouseType(e){
|
changeHouseType(e){
|
||||||
this.houseTypeIndex = e.detail.value;
|
this.houseTypeIndex = e.detail.value;
|
||||||
this.houseApply.houseType = this.houseType[this.houseTypeIndex].id;
|
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){
|
getUserType(dataType){
|
||||||
|
|
@ -592,6 +600,8 @@ export default {
|
||||||
if (res.returnCode == 1) {
|
if (res.returnCode == 1) {
|
||||||
this.houseType = res.returnData || [];
|
this.houseType = res.returnData || [];
|
||||||
this.houseApply.houseType = this.houseType[this.houseTypeIndex].id;
|
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 {
|
} else {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue