xfj.vue 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <template>
  2. <view>
  3. <view>
  4. <hs-input label="申请人" v-model="form.applyUserName" disabled></hs-input>
  5. <hs-input label="申请标题" v-model="form.title"></hs-input>
  6. <hs-input label="备注" v-model="form.remark" model="textarea"></hs-input>
  7. <hs-photo label="信访件图片" :limit="9" v-model="form.imgList"></hs-photo>
  8. </view>
  9. <u-gap height="70" bgColor="#ffffff"></u-gap>
  10. <hs-flow-submit ref="flowSubmit" @verify="verify" :data="form" api="letterDispose"></hs-flow-submit>
  11. </view>
  12. </template>
  13. <script>
  14. export default {
  15. data() {
  16. return {
  17. form: {
  18. applyUserName: '',
  19. imgList: ''
  20. }
  21. }
  22. },
  23. onLoad() {
  24. //申请人初始化
  25. this.form.applyUserName = uni.getStorageSync("profile").name
  26. },
  27. methods: {
  28. verify() {
  29. console.log("提交", this.form)
  30. this.$refs.flowSubmit.submit()
  31. },
  32. input(e) {
  33. console.log(e)
  34. }
  35. }
  36. }
  37. </script>
  38. <style lang="scss" scoped>
  39. .desc {
  40. padding: 15rpx 5rpx;
  41. }
  42. .zysx p {
  43. font-size: 22rpx;
  44. }
  45. .bottim_view {
  46. padding: 5px 20px 30px;
  47. position: fixed;
  48. left: 0px;
  49. bottom: 0px;
  50. width: 100%;
  51. height: 40px;
  52. background-color: #ffffff;
  53. }
  54. </style>