zhangjiaqing
3 天以前 f5f65e6a9a49709c451dc2efd253970b5ae41f69
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="修改业委会" namespace="editOwnerCommittee"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary " v-on:click="vc.goBack()">
                            <i class="fa fa-close"></i>
                            <vc:i18n name="返回"></vc:i18n>
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label text-right">
                            <span><vc:i18n name='姓名' namespace='editOwnerCommittee'></vc:i18n></span>
                        </label>
                        <div class="col-sm-4">
                            <input v-model="editOwnerCommitteeInfo.name" type="text"
                                   :placeholder="vc.i18n('必填,请填写姓名','editOwnerCommittee')" class="form-control">
                        </div>
                        <label class="col-sm-2 col-form-label text-right">
                            <span><vc:i18n name='性别' namespace='editOwnerCommittee'></vc:i18n></span>
                        </label>
                        <div class="col-sm-4">
                            <select class="custom-select" v-model="editOwnerCommitteeInfo.sex">
                                <option selected disabled value="">{{vc.i18n('必填,请选择性别','editOwnerCommittee')}}</option>
                                <option value="B">{{vc.i18n('男','editOwnerCommittee')}}</option>
                                <option value="G">{{vc.i18n('女','editOwnerCommittee')}}</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label text-right">
                            <span><vc:i18n name='电话' namespace='editOwnerCommittee'></vc:i18n></span>
                        </label>
                        <div class="col-sm-4">
                            <input v-model="editOwnerCommitteeInfo.link" type="text"
                                   :placeholder="vc.i18n('必填,请填写电话','editOwnerCommittee')" class="form-control">
                        </div>
                        <label class="col-sm-2 col-form-label text-right">
                            <span><vc:i18n name='身份证号码' namespace='editOwnerCommittee'></vc:i18n></span>
                        </label>
                        <div class="col-sm-4">
                            <input v-model="editOwnerCommitteeInfo.idCard" type="text"
                                   :placeholder="vc.i18n('必填,请填写身份证号码','editOwnerCommittee')" class="form-control">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label text-right">
                            <span><vc:i18n name='住址' namespace='editOwnerCommittee'></vc:i18n></span>
                        </label>
                        <div class="col-sm-4">
                            <input v-model="editOwnerCommitteeInfo.address" type="text"
                                   :placeholder="vc.i18n('必填,请填写住址','editOwnerCommittee')" class="form-control">
                        </div>
                        <label class="col-sm-2 col-form-label text-right">
                            <span><vc:i18n name='职位' namespace='editOwnerCommittee'></vc:i18n></span>
                        </label>
                        <div class="col-sm-4">
                            <input v-model="editOwnerCommitteeInfo.position" type="text"
                                   :placeholder="vc.i18n('必填,请填写职位','editOwnerCommittee')" class="form-control">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label text-right">
                            <span><vc:i18n name='岗位' namespace='editOwnerCommittee'></vc:i18n></span>
                        </label>
                        <div class="col-sm-4">
                            <input v-model="editOwnerCommitteeInfo.post" type="text"
                                   :placeholder="vc.i18n('必填,请填写岗位','editOwnerCommittee')" class="form-control">
                        </div>
                        <label class="col-sm-2 col-form-label text-right">
                            <span><vc:i18n name='岗位描述' namespace='editOwnerCommittee'></vc:i18n></span>
                        </label>
                        <div class="col-sm-4">
                            <input v-model="editOwnerCommitteeInfo.postDesc" type="text"
                                   :placeholder="vc.i18n('选填,请填写岗位描述','editOwnerCommittee')" class="form-control">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label text-right">
                            <span><vc:i18n name='届期' namespace='editOwnerCommittee'></vc:i18n></span>
                        </label>
                        <div class="col-sm-4">
                            <input v-model="editOwnerCommitteeInfo.appointTime" type="text"
                                   :placeholder="vc.i18n('必填,请填写届期','editOwnerCommittee')" class="form-control">
                        </div>
                        <label class="col-sm-2 col-form-label text-right">
                            <span><vc:i18n name='任期' namespace='editOwnerCommittee'></vc:i18n></span>
                        </label>
                        <div class="col-sm-4">
                            <input v-model="editOwnerCommitteeInfo.curTime" type="text"
                                   :placeholder="vc.i18n('必填,请填写任期','editOwnerCommittee')" class="form-control">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label text-right">
                            <span><vc:i18n name='状态' namespace='editOwnerCommittee'></vc:i18n></span>
                        </label>
                        <div class="col-sm-4">
                            <select class="custom-select" v-model="editOwnerCommitteeInfo.state">
                                <option selected disabled value="">{{vc.i18n('必填,请选择状态','editOwnerCommittee')}}</option>
                                <option value="1000">{{vc.i18n('在职','editOwnerCommittee')}}</option>
                                <option value="2000">{{vc.i18n('离职','editOwnerCommittee')}}</option>
                            </select>
                        </div>
                        <label class="col-sm-2 col-form-label text-right">
                            <span><vc:i18n name='备注' namespace='editOwnerCommittee'></vc:i18n></span>
                        </label>
                        <div class="col-sm-4">
                            <textarea v-model="editOwnerCommitteeInfo.remark"
                                      :placeholder="vc.i18n('选填,请填写备注','editOwnerCommittee')"
                                      class="form-control">
                            </textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="紧急联系人" namespace="editOwnerCommittee"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_addContract()">
                            <i class="fa fa-plus"></i>新增
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" style="margin-top:10px"
                           data-page-size="10">
                        <thead>
                        <tr>
                            <th data-hide="phone" class="text-center">
                                <vc:i18n name="成员关系" namespace="editOwnerCommittee"></vc:i18n>
                            </th>
                            <th data-hide="phone" class="text-center">
                                <vc:i18n name="姓名" namespace="editOwnerCommittee"></vc:i18n>
                            </th>
                            <th data-hide="phone" class="text-center">
                                <vc:i18n name="联系电话" namespace="editOwnerCommittee"></vc:i18n>
                            </th>
                            <th data-hide="phone" class="text-center">
                                <vc:i18n name="住址" namespace="editOwnerCommittee"></vc:i18n>
                            </th>
                            <th class="text-center">
                                <vc:i18n name="操作" namespace="editOwnerCommittee"></vc:i18n>
                            </th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="contract in editOwnerCommitteeInfo.contracts">
                            <td class="text-center">
                                <input v-model="contract.relName" type="text"
                                       :placeholder="vc.i18n('必填,请填写关系','editOwnerCommittee')" class="form-control">
                            </td>
                            <td class="text-center">
                                <input v-model="contract.name" type="text"
                                       :placeholder="vc.i18n('必填,请填写名称','editOwnerCommittee')" class="form-control">
                            </td>
                            <td class="text-center">
                                <input v-model="contract.link" type="tel"
                                       :placeholder="vc.i18n('必填,请填写电话','editOwnerCommittee')" class="form-control">
                            </td>
                            <td class="text-center" style="width: 250px;">
                                <input v-model="contract.address" type="tel"
                                       :placeholder="vc.i18n('必填,请填写地址','editOwnerCommittee')" class="form-control">
                            </td>
                            <td class="text-center">
                                <div class="btn-group">
                                    <button class="btn-white btn btn-xs" v-on:click="_deleteContract(contract)">
                                        <vc:i18n name="删除" namespace="editOwnerCommittee"></vc:i18n>
                                    </button>
                                </div>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div class="margin-top">
        <button class="btn btn-primary float-right" type="button" v-on:click="editOwnerCommittee()">
            <i class="fa fa-check"></i>&nbsp;
            <vc:i18n name="保存"></vc:i18n>
        </button>
        <button type="button" class="btn btn-warning float-right" style="margin-right:20px;" v-on:click="vc.goBack()">
            <vc:i18n name="返回"></vc:i18n>
        </button>
    </div>
</div>