|  | @@ -1,73 +1,107 @@
 | 
											
												
													
														|  |  <template>
 |  |  <template>
 | 
											
												
													
														|  |  	<view class="details">
 |  |  	<view class="details">
 | 
											
												
													
														|  |  		<view class="search">
 |  |  		<view class="search">
 | 
											
												
													
														|  | -			<van-icon name="wap-nav" @click="returnList" />
 |  | +			<uni-icons type="bars" size="30" @click="returnList"></uni-icons>
 | 
											
												
											
												
													
														|  |  		</view>
 |  |  		</view>
 | 
											
												
													
														|  | -		<van-sticky :offset-top="-10">
 |  | +		<scroll-view class="top-menu-view" scroll-x="true">
 | 
											
												
											
												
													
														|  | 
 |  | +			<view class="menu-topic-view" v-for="(item, key) in tabOptions" :key="key" @click="active=key">
 | 
											
												
													
														|  | 
 |  | +				<view :class="active==key ? 'menu-topic-act' : 'menu-topic'">
 | 
											
												
													
														|  | 
 |  | +					<text class="menu-topic-text">{{item}}</text>
 | 
											
												
													
														|  | 
 |  | +					<view class="menu-topic-bottom">
 | 
											
												
													
														|  | 
 |  | +						<view class="menu-topic-bottom-color"></view>
 | 
											
												
													
														|  | 
 |  | +					</view>
 | 
											
												
													
														|  | 
 |  | +				</view>
 | 
											
												
													
														|  | 
 |  | +			</view>
 | 
											
												
													
														|  | 
 |  | +		</scroll-view>
 | 
											
												
													
														|  | 
 |  | +		<!-- <van-sticky :offset-top="-10">
 | 
											
												
													
														|  |  			<van-tabs sticky v-model="active" class="tabs">
 |  |  			<van-tabs sticky v-model="active" class="tabs">
 | 
											
												
													
														|  |  				<van-tab v-for="(item, key) in tabOptions" :key="key" :title="item">
 |  |  				<van-tab v-for="(item, key) in tabOptions" :key="key" :title="item">
 | 
											
												
													
														|  | -					<view class="hclist" v-if="key==0">
 |  | +				</van-tab>
 | 
											
												
													
														|  | -						<van-cell v-for="(item, i) in jbxxs" :key="i" :title="item.name" :value="infoObj[item.prop]" />
 |  | +			</van-tabs>
 | 
											
												
													
														|  | -					</view>
 |  | +		</van-sticky> -->
 | 
											
												
													
														|  | -					<view class="hclist" v-if="active==1">
 |  | +		<view>
 | 
											
												
													
														|  | -						<van-tabs sticky v-if="sheets.length" v-model="ywyptab">
 |  | +			<view class="hclist" v-if="active==0">
 | 
											
												
													
														|  | -							<van-tab v-for="ypitem in sheets" :key="ypitem.sheet" :title="ypitem.type"
 |  | +				<view class="menu-list">
 | 
											
												
													
														|  | -								:name="ypitem.sheet">
 |  | +					<view class="list-cell list-cell-arrow" v-for="(item, i) in jbxxs" :key="i">
 | 
											
												
													
														|  | -								<view>
 |  | +						<view class="menu-item-box">
 | 
											
												
													
														|  | -									<img :src="ypitem.photo" width="100%" />
 |  | +							<view>{{item.name}}</view>
 | 
											
												
													
														|  | -									压占{{ ypitem.type }}面积共{{ ypitem.mjj }}平方米
 |  | +							<view class="text-right">{{infoObj[item.prop]}}</view>
 | 
											
												
													
														|  | -									<van-cell>
 |  | +						</view>
 | 
											
												
													
														|  | -										<van-row>
 |  | 
 | 
											
												
													
														|  | -											<van-col :span="8" v-for="(item, i) in tdxzTable"
 |  | 
 | 
											
												
													
														|  | -												:key="i">{{item.label}}</van-col>
 |  | 
 | 
											
												
													
														|  | -										</van-row>
 |  | 
 | 
											
												
													
														|  | -									</van-cell>
 |  | 
 | 
											
												
													
														|  | -									<van-cell>
 |  | 
 | 
											
												
													
														|  | -										<van-row v-for="(row, index) in ypitem.data_list" :key="index">
 |  | 
 | 
											
												
													
														|  | -											<van-col :span="8" v-for="(item, i) in tdxzTable" :key="i">
 |  | 
 | 
											
												
													
														|  | -												<div v-if="item.slot == 'ratio'">
 |  | 
 | 
											
												
													
														|  | -													{{ ((row.yzmj / ypitem.yzmj) * 100).toFixed(2) }}%
 |  | 
 | 
											
												
													
														|  | -												</div>
 |  | 
 | 
											
												
													
														|  | -												<span v-else>{{ row[item.prop] }}</span>
 |  | 
 | 
											
												
													
														|  | -											</van-col>
 |  | 
 | 
											
												
													
														|  | -										</van-row>
 |  | 
 | 
											
												
													
														|  | -									</van-cell>
 |  | 
 | 
											
												
													
														|  | -								</view>
 |  | 
 | 
											
												
													
														|  | -							</van-tab>
 |  | 
 | 
											
												
													
														|  | -						</van-tabs>
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
											
												
											
												
											
												
											
												
											
												
											
												
											
												
											
												
											
												
											
												
											
												
													
														|  |  					</view>
 |  |  					</view>
 | 
											
												
													
														|  | -					<view class="hclist" v-if="key==2">
 |  | +				</view>
 | 
											
												
													
														|  | -						<van-uploader v-model="fileList" multiple :after-read="afterRead" />
 |  | +				<!-- <van-cell v-for="(item, i) in jbxxs" :key="i" :title="item.name" :value="infoObj[item.prop]" /> -->
 | 
											
												
											
												
											
												
													
														|  | 
 |  | +			</view>
 | 
											
												
													
														|  | 
 |  | +			<view class="hclist" v-if="active==1">
 | 
											
												
													
														|  | 
 |  | +				<scroll-view v-if="sheets.length" class="top-menu-view" scroll-x="true">
 | 
											
												
													
														|  | 
 |  | +					<view class="menu-topic-view" v-for="ypitem in sheets" :key="ypitem.sheet"
 | 
											
												
													
														|  | 
 |  | +						@click="ywyptab=ypitem.sheet">
 | 
											
												
													
														|  | 
 |  | +						<view :class="ywyptab==ypitem.sheet ? 'menu-topic-act' : 'menu-topic'">
 | 
											
												
													
														|  | 
 |  | +							<text class="menu-topic-text">{{ypitem.type}}</text>
 | 
											
												
													
														|  | 
 |  | +							<view class="menu-topic-bottom">
 | 
											
												
													
														|  | 
 |  | +								<view class="menu-topic-bottom-color"></view>
 | 
											
												
													
														|  | 
 |  | +							</view>
 | 
											
												
													
														|  | 
 |  | +						</view>
 | 
											
												
													
														|  |  					</view>
 |  |  					</view>
 | 
											
												
													
														|  | -					<view class="hclist" v-if="key==3">
 |  | +				</scroll-view>
 | 
											
												
													
														|  | -						<uni-forms ref="form" :model="checkform" labelWidth="80px">
 |  | +				<!-- <van-tabs sticky v-if="sheets.length" v-model="ywyptab">
 | 
											
												
													
														|  | -							<uni-forms-item label="实际地类" name="nickName">
 |  | +					<van-tab v-for="ypitem in sheets" :key="ypitem.sheet" :title="ypitem.type" :name="ypitem.sheet">
 | 
											
												
													
														|  | -								<uni-data-select v-model="checkform.phonenumber" :localdata="range"></uni-data-select>
 |  | +					</van-tab>
 | 
											
												
													
														|  | -							</uni-forms-item>
 |  | +				</van-tabs> -->
 | 
											
												
													
														|  | -							<uni-forms-item label="核查初判" name="phonenumber">
 |  | +				<view class="swiper-item" v-for="ypitem in sheets" :key="ypitem.sheet">
 | 
											
												
													
														|  | -								<uni-data-select v-model="checkform.phonenumber" :localdata="range"></uni-data-select>
 |  | +					<view v-if="ywyptab==ypitem.sheet">
 | 
											
												
													
														|  | -							</uni-forms-item>
 |  | +						<img :src="ypitem.photo" width="100%" />
 | 
											
												
													
														|  | -							<uni-forms-item label="其它材料" name="email">
 |  | +						压占{{ ypitem.type }}面积共{{ ypitem.mjj }}平方米
 | 
											
												
													
														|  | -								<van-uploader v-model="checkform.fileList" multiple :after-read="afterRead" />
 |  | +						<view class="list-cell">
 | 
											
												
													
														|  | -							</uni-forms-item>
 |  | +							<uni-row>
 | 
											
												
													
														|  | -							<uni-forms-item label="其它说明" name="sex" required>
 |  | +								<uni-col :span="8" v-for="(item, i) in tdxzTable" :key="i">{{item.label}}</uni-col>
 | 
											
												
													
														|  | -								<uni-easyinput v-model="checkform.phonenumber" type="textarea" placeholder="请输入其它说明" />
 |  | +							</uni-row>
 | 
											
												
													
														|  | -							</uni-forms-item>
 |  | +						</view>
 | 
											
												
													
														|  | -						</uni-forms>
 |  | +						<view class="list-cell">
 | 
											
												
											
												
											
												
											
												
											
												
											
												
											
												
											
												
											
												
											
												
											
												
											
												
											
												
											
												
											
												
											
												
													
														|  | 
 |  | +							<uni-row v-for="(row, index) in ypitem.data_list" :key="index">
 | 
											
												
													
														|  | 
 |  | +								<uni-col :span="8" v-for="(item, i) in tdxzTable" :key="i">
 | 
											
												
													
														|  | 
 |  | +									<div v-if="item.slot == 'ratio'">
 | 
											
												
													
														|  | 
 |  | +										{{ ((row.yzmj / ypitem.yzmj) * 100).toFixed(2) }}%
 | 
											
												
													
														|  | 
 |  | +									</div>
 | 
											
												
													
														|  | 
 |  | +									<span v-else>{{ row[item.prop] }}</span>
 | 
											
												
													
														|  | 
 |  | +								</uni-col>
 | 
											
												
													
														|  | 
 |  | +							</uni-row>
 | 
											
												
													
														|  | 
 |  | +						</view>
 | 
											
												
													
														|  |  					</view>
 |  |  					</view>
 | 
											
												
													
														|  | -				</van-tab>
 |  | +				</view>
 | 
											
												
													
														|  | -			</van-tabs>
 |  | +			</view>
 | 
											
												
													
														|  | -		</van-sticky>
 |  | +			<view class="hclist" v-if="active==2">
 | 
											
												
											
												
											
												
											
												
													
														|  | 
 |  | +				<view class="example-body">
 | 
											
												
													
														|  | 
 |  | +					<uni-file-picker v-model="fileList" limit="9" title="最多选择9张图片"></uni-file-picker>
 | 
											
												
													
														|  | 
 |  | +				</view>
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +			</view>
 | 
											
												
													
														|  | 
 |  | +			<view class="hclist" v-if="active==3">
 | 
											
												
													
														|  | 
 |  | +				<uni-forms ref="form" :model="checkform" labelWidth="80px">
 | 
											
												
													
														|  | 
 |  | +					<uni-forms-item label="实际地类" name="nickName">
 | 
											
												
													
														|  | 
 |  | +						<uni-data-select v-model="checkform.phonenumber" :localdata="range"></uni-data-select>
 | 
											
												
													
														|  | 
 |  | +					</uni-forms-item>
 | 
											
												
													
														|  | 
 |  | +					<uni-forms-item label="核查初判" name="phonenumber">
 | 
											
												
													
														|  | 
 |  | +						<uni-data-select v-model="checkform.phonenumber" :localdata="range"></uni-data-select>
 | 
											
												
													
														|  | 
 |  | +					</uni-forms-item>
 | 
											
												
													
														|  | 
 |  | +					<uni-forms-item label="其它材料" name="email">
 | 
											
												
													
														|  | 
 |  | +						<uni-file-picker v-model="checkform.fileList" title="添加照片或文件"></uni-file-picker>
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +					</uni-forms-item>
 | 
											
												
													
														|  | 
 |  | +					<uni-forms-item label="其它说明" name="sex" required>
 | 
											
												
													
														|  | 
 |  | +						<uni-easyinput v-model="checkform.phonenumber" type="textarea" placeholder="请输入其它说明" />
 | 
											
												
													
														|  | 
 |  | +					</uni-forms-item>
 | 
											
												
													
														|  | 
 |  | +				</uni-forms>
 | 
											
												
													
														|  | 
 |  | +			</view>
 | 
											
												
													
														|  | 
 |  | +		</view>
 | 
											
												
													
														|  |  		<div class="btns">
 |  |  		<div class="btns">
 | 
											
												
													
														|  | -			<button type="primary" @click="toggle">举证说明</button>
 |  | +			<button type="primary" size="mini" @click=" toggle">举证说明</button>
 | 
											
												
													
														|  | -			<button type="primary" @click="affirm(0)">确认</button>
 |  | +			<button type="primary" size="mini" :disabled=" !qrdis" @click="affirm(0)">确认</button>
 | 
											
												
													
														|  | -			<button type="primary" @click="affirm(1)">退回</button>
 |  | +			<button type="primary" size="mini" :disabled=" !qrdis" @click="affirm(1)">退回</button>
 | 
											
												
													
														|  | -			<button type="primary" @click="save">保存</button>
 |  | +			<button type="primary" size="mini" @click="save">保存</button>
 | 
											
												
													
														|  | -			<button type="primary" @click="tj">提交</button>
 |  | +			<button type="primary" size="mini" :disabled=" !tjdis" @click="tj">提交</button>
 | 
											
												
											
												
											
												
											
												
											
												
											
												
													
														|  |  		</div>
 |  |  		</div>
 | 
											
												
													
														|  |  		<uni-popup ref="popup" background-color="#fff">
 |  |  		<uni-popup ref="popup" background-color="#fff">
 | 
											
												
													
														|  | -			<uni-popup-dialog :type="msgType" title="举证说明" :content="nowobj.notes"></uni-popup-dialog>
 |  | +			<uni-popup-dialog type="info" title="举证说明" :content="nowobj.notes"></uni-popup-dialog>
 | 
											
												
											
												
													
														|  |  		</uni-popup>
 |  |  		</uni-popup>
 | 
											
												
													
														|  |  	</view>
 |  |  	</view>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -78,7 +112,6 @@
 | 
											
												
													
														|  |  		getDkjbxx,
 |  |  		getDkjbxx,
 | 
											
												
													
														|  |  		getDkjbywy,
 |  |  		getDkjbywy,
 | 
											
												
													
														|  |  		getStep,
 |  |  		getStep,
 | 
											
												
													
														|  | -	
 |  | 
 | 
											
												
													
														|  |  		hcWork,
 |  |  		hcWork,
 | 
											
												
													
														|  |  		getHcInfo,
 |  |  		getHcInfo,
 | 
											
												
													
														|  |  		tjWork,
 |  |  		tjWork,
 | 
											
										
											
												
													
														|  | @@ -98,6 +131,8 @@
 | 
											
												
													
														|  |  				tabOptions: ['基本信息', '业务研判', '实地拍照', '核查信息'],
 |  |  				tabOptions: ['基本信息', '业务研判', '实地拍照', '核查信息'],
 | 
											
												
													
														|  |  				loading: false,
 |  |  				loading: false,
 | 
											
												
													
														|  |  				steps: [],
 |  |  				steps: [],
 | 
											
												
													
														|  | 
 |  | +				qrdis: false,
 | 
											
												
													
														|  | 
 |  | +				tjdis: false,
 | 
											
												
													
														|  |  				jbxxs: jbxxs,
 |  |  				jbxxs: jbxxs,
 | 
											
												
													
														|  |  				tdxzTable: tdxzTable,
 |  |  				tdxzTable: tdxzTable,
 | 
											
												
													
														|  |  				activeName: "jbxx",
 |  |  				activeName: "jbxx",
 | 
											
										
											
												
													
														|  | @@ -140,10 +175,14 @@
 | 
											
												
													
														|  |  					}
 |  |  					}
 | 
											
												
													
														|  |  					console.log(this.sheets);
 |  |  					console.log(this.sheets);
 | 
											
												
													
														|  |  				});
 |  |  				});
 | 
											
												
													
														|  | 
 |  | +				this.steps = [];
 | 
											
												
													
														|  |  				getStep({
 |  |  				getStep({
 | 
											
												
													
														|  |  					dkjdxxId: id
 |  |  					dkjdxxId: id
 | 
											
												
													
														|  |  				}).then((res) => {
 |  |  				}).then((res) => {
 | 
											
												
													
														|  |  					this.steps = res.data;
 |  |  					this.steps = res.data;
 | 
											
												
													
														|  | 
 |  | +					this.qrdis = this.steps.find((x) => x.auditflowStep.includes('WYQR'))
 | 
											
												
													
														|  | 
 |  | +					this.tjdis = this.steps.find((x) => x.auditflowStep.includes('TJ'))
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  				});
 |  |  				});
 | 
											
												
													
														|  |  				getHcInfo({
 |  |  				getHcInfo({
 | 
											
												
													
														|  |  					dkid: id,
 |  |  					dkid: id,
 | 
											
										
											
												
													
														|  | @@ -152,7 +191,7 @@
 | 
											
												
													
														|  |  					fieldworkId: ''
 |  |  					fieldworkId: ''
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  				}).then((res) => {
 |  |  				}).then((res) => {
 | 
											
												
													
														|  | -					this.checkform = res.data;
 |  | +					this.checkform = res.data || {};
 | 
											
												
											
												
													
														|  |  				});
 |  |  				});
 | 
											
												
													
														|  |  				getTjInfo({
 |  |  				getTjInfo({
 | 
											
												
													
														|  |  					dkid: id,
 |  |  					dkid: id,
 | 
											
										
											
												
													
														|  | @@ -184,7 +223,11 @@
 | 
											
												
													
														|  |  				uni.$globalData = this.nowobj
 |  |  				uni.$globalData = this.nowobj
 | 
											
												
													
														|  |  				this.$tab.navigateTo('/pages/index/common/edit?confirmState=' + confirmState)
 |  |  				this.$tab.navigateTo('/pages/index/common/edit?confirmState=' + confirmState)
 | 
											
												
													
														|  |  			},
 |  |  			},
 | 
											
												
													
														|  | -			
 |  | +			tj() {
 | 
											
												
											
												
													
														|  | 
 |  | +				uni.$globalData = this.nowobj
 | 
											
												
													
														|  | 
 |  | +				this.$tab.navigateTo('/pages/index/common/tjDialog')
 | 
											
												
													
														|  | 
 |  | +			},
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  		},
 |  |  		},
 | 
											
										
											
												
													
														|  | @@ -195,13 +238,10 @@
 | 
											
												
													
														|  |  	.details {
 |  |  	.details {
 | 
											
												
													
														|  |  		width: 100%;
 |  |  		width: 100%;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -		.van-icon {
 |  | +		.uni-icons {
 | 
											
												
											
												
													
														|  |  			position: absolute;
 |  |  			position: absolute;
 | 
											
												
													
														|  |  			right: 20rpx;
 |  |  			right: 20rpx;
 | 
											
												
													
														|  |  			top: 70rpx;
 |  |  			top: 70rpx;
 | 
											
												
													
														|  | -			width: 70rpx;
 |  | 
 | 
											
												
													
														|  | -			line-height: 74rpx;
 |  | 
 | 
											
												
													
														|  | -			font-size: 60rpx;
 |  | 
 | 
											
												
													
														|  |  		}
 |  |  		}
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  		// position: relative;
 |  |  		// position: relative;
 | 
											
										
											
												
													
														|  | @@ -210,9 +250,11 @@
 | 
											
												
													
														|  |  		}
 |  |  		}
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  		.hclist {
 |  |  		.hclist {
 | 
											
												
													
														|  | -			height: 30vh;
 |  | +			height: 40vh;
 | 
											
												
											
												
													
														|  |  			overflow-x: hidden;
 |  |  			overflow-x: hidden;
 | 
											
												
													
														|  |  			overflow-y: auto;
 |  |  			overflow-y: auto;
 | 
											
												
													
														|  | 
 |  | +			background: #fff;
 | 
											
												
													
														|  | 
 |  | +			padding: 10rpx;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  		}
 |  |  		}
 | 
											
										
											
												
													
														|  | @@ -220,9 +262,25 @@
 | 
											
												
													
														|  |  		.btns {
 |  |  		.btns {
 | 
											
												
													
														|  |  			width: 100%;
 |  |  			width: 100%;
 | 
											
												
													
														|  |  			position: absolute;
 |  |  			position: absolute;
 | 
											
												
													
														|  | -			bottom: 200rpx;
 |  | +			bottom: 20rpx;
 | 
											
												
											
												
													
														|  |  			display: flex;
 |  |  			display: flex;
 | 
											
												
													
														|  |  		}
 |  |  		}
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  	}
 |  |  	}
 | 
											
												
													
														|  | 
 |  | +</style>
 | 
											
												
													
														|  | 
 |  | +<style scoped lang="scss">
 | 
											
												
													
														|  | 
 |  | +	@import "./tabs.scss";
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +	.menu-list {
 | 
											
												
													
														|  | 
 |  | +		margin: 0;
 | 
											
												
													
														|  | 
 |  | +	}
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +	.custom-image-box {
 | 
											
												
													
														|  | 
 |  | +		/* #ifndef APP-NVUE */
 | 
											
												
													
														|  | 
 |  | +		display: flex;
 | 
											
												
													
														|  | 
 |  | +		/* #endif */
 | 
											
												
													
														|  | 
 |  | +		flex-direction: row;
 | 
											
												
													
														|  | 
 |  | +		justify-content: space-between;
 | 
											
												
													
														|  | 
 |  | +		align-items: center;
 | 
											
												
													
														|  | 
 |  | +	}
 | 
											
												
													
														|  |  </style>
 |  |  </style>
 |