<template>
	<view>
		<view>
			<hs-input label="申请人" v-model="form.applyUserName" disabled></hs-input>
			<hs-input label="申请标题" v-model="form.title"></hs-input>
			<hs-input label="备注" v-model="form.remark" model="textarea"></hs-input>
			<hs-photo label="信访件图片" :limit="9" v-model="form.imgList"></hs-photo>
		</view>
		<u-gap height="70" bgColor="#ffffff"></u-gap>
		<hs-flow-submit ref="flowSubmit" @verify="verify" :data="form" api="letterDispose"></hs-flow-submit>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				form: {
					applyUserName: '',
					imgList: ''
				}
			}
		},
		onLoad() {
			//申请人初始化
			this.form.applyUserName = uni.getStorageSync("profile").name
		},
		methods: {
			verify() {
				console.log("提交", this.form)
				this.$refs.flowSubmit.submit()
			},
			input(e) {
				console.log(e)
			}
		}
	}
</script>

<style lang="scss" scoped>
	.desc {
		padding: 15rpx 5rpx;
	}

	.zysx p {
		font-size: 22rpx;
	}

	.bottim_view {
		padding: 5px 20px 30px;
		position: fixed;
		left: 0px;
		bottom: 0px;
		width: 100%;
		height: 40px;
		background-color: #ffffff;
	}
</style>