forked from nsjcy/frontEnd/nsjcy

LAPTOP-RI7D261L\Mr Ke
2020-02-13 a2789abb73725738127b03d95c95081b66954916
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!--pages/xsjb/xsjb.wxml-->
<wux-form id="wux-form" bind:change="onChange">
  <form id="form-dom" bindsubmit="formSubmit">
    <wux-cell-group title="举报信息">
      <wux-field name="举报对象">
        <wux-cell hover-class="none">
          <wux-field name="举报对象" value="柯礼钦">
            <wux-input label="举报对象" bind:change="inputOnchange" data-key="handleContent" />
          </wux-field>
        </wux-cell>
      </wux-field>
 
      <wux-field name="举报行为" value="{{ meetingWay }}">
        <wux-popup-select options="{{ meetingWayList }}" bind:change="onPopupSelectChange" data-key="meetingWay">
          <wux-cell title="举报行为" is-link extra="{{ displaymeetingWay }}" required="{{true}}"></wux-cell>
        </wux-popup-select>
      </wux-field>
 
      <!-- <wux-field name="发生地" value="{{ meetingWay }}">
      <wux-cell hover-class="none" extra="{{dom}}">
        <wux-field name="发生地" initialValue="123">
          <wux-input label="发生地" />
        </wux-field>
      </wux-cell>
    </wux-field> -->
 
      <view class="cu-form-group">
        <view class="title">发生地</view>
        <input placeholder="发生地"></input>
        <text class="cuIcon-locationfill text-orange" bindtap="chooseLocation"></text>
      </view>
 
      <wux-field name="具体事项" value="{{ meetingWay }}">
        <wux-cell hover-class="none">
          <wux-textarea rows="3" label="具体事项" placeholder="请输入具体事项" />
        </wux-cell>
      </wux-field>
 
    </wux-cell-group>
 
    <wux-cell-group title="证明材料上传">
      <view style="padding: 20rpx 28rpx 0 30rpx;">
        <wux-upload listType="picture-card" fileList="{{ supplyAttachmentList  }}" controlled url="{{uploadUrl}}entityId={{entityId}}&associateId={{5002}}" data-id="{{item.caseId}}" bind:change="onChange" bind:success="onSuccess" bind:fail="onFail" bind:complete="onComplete"
          bind:preview="onPreview" bind:remove="onRemove">
          <!-- <text>上传</text> -->
          <wux-icon type="ios-add-circle-outline" color="color:rgba(153,153,153,1);" />
        </wux-upload>
      </view>
    </wux-cell-group>
 
    <view style="margin-top: 30rpx;">
      <wux-cell-group>
        <wux-field name="举报类型" value="{{ meetingWay }}">
          <wux-popup-select options="{{ meetingWayList }}" bind:change="onPopupSelectChange" data-key="meetingWay">
            <wux-cell title="举报类型" is-link extra="{{ displaymeetingWay }}" required="{{true}}"></wux-cell>
          </wux-popup-select>
        </wux-field>
      </wux-cell-group>
    </view>
 
    <wux-cell-group title="举报人信息">
      <wux-field name="姓名">
        <wux-cell hover-class="none">
          <wux-field name="姓名" initialValue="123">
            <wux-input label="姓名" />
          </wux-field>
        </wux-cell>
      </wux-field>
 
      <wux-field name="手机号码">
        <wux-cell hover-class="none">
          <wux-field name="手机号码" initialValue="123">
            <wux-input label="手机号码" />
          </wux-field>
        </wux-cell>
      </wux-field>
 
      <wux-field name="联系地址">
        <wux-cell hover-class="none">
          <wux-field name="联系地址" initialValue="123">
            <wux-input label="联系地址" />
          </wux-field>
        </wux-cell>
      </wux-field>
    </wux-cell-group>
 
    <view class="padding-sm">
      <button class="cu-btn block bg-blue margin-tb-sm lg" bindtap="onSubmit">
        提交举报
      </button>
    </view>
  </form>
</wux-form>