Blame view

assets/pages/scripts/otherSetting/apprel/apprelease.html 20.2 KB
10646c94   Andy   add
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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
  
  <!-- 菜单搜索 sta -->
  <div class="row">
      <div class=" col-md-12 col-sm-12 ITD-padding-common margin-bottom-24  margin-top-20">
          <div class=" ITD-padding22-24 ITD-bgcolor-white ITD-border-radius ITD-box-shadow pos-rel clearfix">
              <div class="row">
                  <div class="col-lg-2 col-md-2 col-sm-2 col-xs-12 ">
                      <select id="appsNames" class="selectpicker" data-width="100%"  data-size="5" data-live-search="true">
                          <option value="rnt">任你停</option>
                          <option value="pda">PDA</option>
                          <option value="qyApp">企业云APP</option>
                          <option value="patrol">巡查APP</option>
                      </select>
                  </div>
                  <div class="col-lg-2 col-md-2 col-sm-2 col-xs-12 display-none">
                      <select id="parkIds" class="selectpicker" data-width="100%" data-size="5" data-live-search="true">
                      </select>
                  </div>
                  <div class="col-lg-5 col-md-5 col-sm-5 col-xs-12">
                      <span class="control-label ITD-common-parking-l  ITD-common-color070 ITD-common-fontsize14">发布时间</span>
                      <div class="input-group ITD-daterange-btn" style="width: 35%">
                          <input type="text" class="form-control ITD-daterange-bg ITD-common-color070" id="apprel-daydaterange-btnsta" readonly="">
                      </div>
                      <span class="float-left" style="height: 34px;line-height: 34px;margin: 0 5px;">-</span>
                      <div class="input-group ITD-daterange-btn" style="width: 35%">
                          <input type="text" class="form-control daterange-str ITD-daterange-bg ITD-common-color070" id="apprel-daydaterange-btnend" readonly="">
                      </div>
                  </div>
                  <div class="col-lg-5 col-md-5 col-sm-5 col-xs-12">
                      <div class="float-right">
                          <div class="ITD-common-searchbtn" id="app-queryBtn">查询</div>
                      </div>
                  </div>
              </div>
              <div class="row margin-top-15">
                  <div id="apprel-toptab" class="col-lg-11 col-md-11 col-sm-11 col-xs-12">
                      <div class="ITD-graynav-topbar ITD-graynav-topbaractive" data-value="1">全部</div>
                      <div class="ITD-graynav-topbar" data-value="2">IOS</div>
                      <div class="ITD-graynav-topbar" data-value="3">Android</div>
  
                  </div>
              </div>
  
          </div>
      </div>
  </div>
  <!-- 菜单搜索 end -->
  <!--table sta-->
  <div class="row">
      <div class="col-md-12 col-sm-12 ITD-padding-common">
          <div class="ITD-box-shadow ITD-border-radius padding0-14 margin-bottom-24">
              <div class="ITD-common-title pos-rel">
                  <span class=" ITD-common-color070">详细记录</span>
                  <div class="btn-actions pos-abs">
                      <div class="btn-export float-right" id="apprel_addBtn">
                          <button class="btn ITD-panelbtn-icon ITD-panelbtn-icon-gray ">
                              <i class="fa ITD-panelicon-add"></i>新增
                          </button>
                      </div>
                  </div>
              </div>
              <div class="portlet-body">
                  <table id="apprelTable" class="ITD-fix-table common-tableh47"></table>
              </div>
  
          </div>
      </div>
  </div>
  <!--新增弹窗 sta-->
  <div class="modal fade" id="apprel_addmodel" style="display: none" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="ITD-modal-dialog blue-modal">
          <div class="modal-content ITD-common-color070">
              <!--topbar sta-->
              <div class="modal-header ITD-model-header">
                  <button type="button" class="close ITD-model-close" data-dismiss="modal" aria-hidden="true">×</button>
                  <span class="ITD-common-fontsize16 colorbig ITD-ztree-headername">新增</span>
                  <!--<input type="text"   id="apprel_add_plNo" hidden="hidden">-->
              </div>
              <!--topbar end-->
              <div class="modal-body ITD-model-contbody">
                  <!--错误提示 sta-->
                  <div id="apprel_adderror" class="ITD-model-errormsg display-none"></div>
                  <!--错误提示 end-->
                  <div class="ITD-form-group margin-bottom-16 margin-top-15">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">APP名称<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left" >
                          <select id="apprel-nameadd" class="selectpicker"  data-width="180px" data-size="5" data-live-search="true">
                              <option value="rnt">任你停</option>
                              <option value="pda">PDA</option>
                              <option value="qyApp">企业云APP</option>
                              <option value="patrol">巡查APP</option>
                          </select>
                      </div>
                  </div>
                  <div class="ITD-form-group margin-bottom-16">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">APP类型<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left" >
                          <div class="ITD-form-padleft5-read float-left" id="apptype_add">
                              <input id="apprel_type0" type="radio" checked="checked" name="appreltype_add" value="ios"><label >IOS</label>
                              <input id="apprel_type1" name="appreltype_add" type="radio" value="android"><label>Android </label>
                          </div>
                      </div>
                  </div>
                  <div class="ITD-form-group margin-bottom-16">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">版本<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left" >
                          <input type="text" maxlength="11" class="ITD-input-wid180 ITD-input-bordercolor" id="appLock_add">
                      </div>
                  </div>
                  <div class="ITD-form-group margin-bottom-16">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">强制下载<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left" >
                          <div class="ITD-form-padleft5-read float-left">
                              <input id="apprel_ture" type="radio" checked="checked" name="apprel-poi-add" value="1"><label ></label>
                              <input id="apprel_fail" name="apprel-poi-add" type="radio" value="0"><label></label>
                          </div>
                      </div>
                  </div>
                  <div class="ITD-form-group margin-bottom-16 display-none">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">发布类型<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left" >
                          <div class="ITD-form-padleft5-read float-left">
                              <input id="apprel_join0" type="radio" checked="checked" name="apprel-join" value="10" ><label >URL</label>
                              <input id="apprel_join1" name="apprel-join" type="radio" value="20" ><label>文件上传 </label>
                          </div>
                      </div>
                  </div>
                  <div class="ITD-form-group margin-bottom-16 " id="apptype_url">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">URL地址<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left" >
                          <input type="text" maxlength="80" class="ITD-input-wid180 ITD-input-bordercolor" id="appLock_url">
                      </div>
                  </div>
                  <div class="ITD-form-group margin-bottom-16 display-none" id="apptype_file">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">文件上传<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left">
                              <div class="fileinput fileinput-new uplaodIcon" data-provides="fileinput" style="width: 180px !important;">
                                  <div class="input-group input-large" style="width: 180px !important;">
                                      <div class="form-control uneditable-input input-fixed input-medium" data-trigger="fileinput" style="width: 180px !important;min-width: 180px !important;color: rgba(0,0,0,0.45);border: 1px solid #d8e2e5 !important;border-radius: 4px !important;">
                                          <i class="fa fa-file fileinput-exists"></i>
                                          <span class="fileinput-filename"></span>
                                      </div>
                                      <form id="form1" enctype="multipart/form-data" method="post" action="" class="display-none">
                                      <span class="input-group-addon btn default btn-file" style="position: relative">
                                          <span class="fileinput-new ">
                                             <font style="vertical-align: inherit;">
                                                 <font style="vertical-align: inherit;"> 选择文件 </font>
                                          </font>
                                          </span>
                                          <input type="file" id="file_btn" name="excelFile"   onchange="inputChangeupload()" style="position: absolute;right: 0;opacity: 0;width: 108px;height: 34px;top:0;z-index: 99">
                                      </span>
  
                                      </form>
  
                                  </div>
                              </div>
                      </div>
                  </div>
                  <div class="ITD-form-group" style="margin-bottom: 50px">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">发布内容<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left" >
                          <textarea type="text" id="apprel_addcomMsg" maxlength="200" class="ITD-input-bordercolor workorder-comMsg"></textarea>
                      </div>
                  </div>
  
                  <!--底部 sta-->
                  <div class="modal-footer ITD-model-footer">
                      <button type="button" class="btn ITD-model-btn ITD-bgcolor-c2cad8" data-dismiss="modal">取消</button>
                      <button type="button" class="btn ITD-model-btn ITD-bgcolor-green textTrue" id="appreladd_submit">确定</button>
  
                  </div>
                  <!--底部 end-->
              </div>
  
          </div>
      </div>
  </div>
  <!--新增弹窗 end-->
  <!--修改弹窗 sta-->
  <div class="modal fade" id="apprel_editmodel" style="display: none" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <input type="hidden" value="" id="rowId">
      <div class="ITD-modal-dialog blue-modal">
          <div class="modal-content ITD-common-color070">
              <!--topbar sta-->
              <div class="modal-header ITD-model-header">
                  <button type="button" class="close ITD-model-close" data-dismiss="modal" aria-hidden="true">×</button>
                  <span class="ITD-common-fontsize16 colorbig ITD-ztree-headername">修改</span>
                  <!--<input type="text"   id="apprel_add_plNo" hidden="hidden">-->
              </div>
              <!--topbar end-->
              <div class="modal-body ITD-model-contbody">
                  <!--错误提示 sta-->
                  <div id="apprel_editerror" class="ITD-model-errormsg display-none"></div>
                  <!--错误提示 end-->
                  <div class="ITD-form-group margin-bottom-16 margin-top-15">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">APP名称<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left" >
                          <select id="apprel-nameedit" class="selectpicker" data-width="180px" data-size="5" data-live-search="true">
                              <option value="rnt">任你停</option>
                              <option value="pda">PDA</option>
                              <option value="qyApp">企业云APP</option>
                              <option value="patrol">巡查APP</option>
                          </select>
                      </div>
                  </div>
                  <div class="ITD-form-group margin-bottom-16">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">APP类型<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left" >
                          <div class="ITD-form-padleft5-read float-left">
                              <input id="apprel_type0edit" type="radio" checked="checked" name="appreltype_edit" value="ios"><label >IOS</label>
                              <input id="apprel_type1edit" name="appreltype_edit" type="radio" value="android"><label>Android </label>
                          </div>
                      </div>
                  </div>
                  <div class="ITD-form-group margin-bottom-16">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">版本<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left" >
                          <input type="text" maxlength="11" class="ITD-input-wid180 ITD-input-bordercolor" id="appLock_edit">
                      </div>
                  </div>
                  <div class="ITD-form-group margin-bottom-16">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">强制下载<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left" >
                          <div class="ITD-form-padleft5-read float-left">
                              <input id="apprel_tureedit" type="radio" checked="checked" name="apprel-poi-edit" value="1"><label ></label>
                              <input id="apprel_failedit" name="apprel-poi-edit" type="radio" value="0"><label></label>
                          </div>
                      </div>
                  </div>
                  <div class="ITD-form-group margin-bottom-16 display-none">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">发布类型<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left" >
                          <div class="ITD-form-padleft5-read float-left">
                              <input id="apprel_join0edit" type="radio" checked="checked" name="apprel-joinedit" value="10" ><label >URL</label>
                              <input id="apprel_join1edit" name="apprel-joinedit" type="radio" value="20" ><label>文件上传 </label>
                          </div>
                      </div>
                  </div>
                  <div class="ITD-form-group margin-bottom-16 " id="apptype_urledit">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">URL地址<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left" >
                          <input type="text" maxlength="80" class="ITD-input-wid180 ITD-input-bordercolor" id="appLock_urledit">
                      </div>
                  </div>
                  <div class="ITD-form-group margin-bottom-16 display-none" id="apptype_fileedit">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">文件上传<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left">
                              <div class="fileinput fileinput-new uplaodIcon" data-provides="fileinput" style="width: 180px !important;">
                                  <div class="input-group input-large" style="width: 180px !important;">
                                      <div class="form-control uneditable-input input-fixed input-medium" data-trigger="fileinput" style="width: 180px !important;min-width: 180px !important;color: rgba(0,0,0,0.45);border: 1px solid #d8e2e5 !important;border-radius: 4px !important;">
                                          <i class="fa fa-file fileinput-exists"></i>
                                          <span class="fileinput-filename"></span>
                                      </div>
                                      <form id="form1edit" enctype="multipart/form-data" method="post" action="" class="display-none">
                                      <span class="input-group-addon btn default btn-file" style="position: relative">
                                          <span class="fileinput-new ">
                                             <font style="vertical-align: inherit;">
                                                 <font style="vertical-align: inherit;"> 选择文件 </font>
                                          </font>
                                          </span>
                                          <input type="file" id="file_btnedit" name="excelFile"   style="position: absolute;right: 0;opacity: 0;width: 108px;height: 34px;top:0;z-index: 99">
                                      </span>
  
                                      </form>
  
                                  </div>
                              </div>
                      </div>
                  </div>
                  <div class="ITD-form-group" style="margin-bottom: 50px">
                      <div class="ITD-form-padleft25-read float-left ITD-pop-panel-wid100">发布内容<span class="ITD-color-red" style="padding-left: 3px;">*</span></div>
                      <div class="ITD-form-padleft5-read float-left" >
                          <textarea type="text" id="apprel_addcomMsgedit" maxlength="200" class="ITD-input-bordercolor workorder-comMsg"></textarea>
                      </div>
                  </div>
  
                  <!--底部 sta-->
                  <div class="modal-footer ITD-model-footer">
                      <button type="button" class="btn ITD-model-btn ITD-bgcolor-c2cad8" data-dismiss="modal">取消</button>
                      <button type="button" class="btn ITD-model-btn ITD-bgcolor-green textTrue" id="appreledit_submit">确定</button>
  
                  </div>
                  <!--底部 end-->
              </div>
  
          </div>
      </div>
  </div>
  <!--新增弹窗 end-->
  <!--下载弹窗 sta-->
  <div class="modal fade" id="apprel_downloadmodel" style="display: none" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="ITD-modal-dialog blue-modal">
          <div class="modal-content ITD-common-color070">
              <!--topbar sta-->
              <div class="modal-header ITD-model-header">
                  <button type="button" class="close ITD-model-close" data-dismiss="modal" aria-hidden="true">×</button>
                  <span class="ITD-common-fontsize16 colorbig ITD-ztree-headername">下载</span>
                  <!--<input type="text"   id="apprel_add_plNo" hidden="hidden">-->
              </div>
              <!--topbar end-->
              <div class="modal-body ITD-model-contbody">
                  <input id="qrcodetext" class="ITD-input-wid180 apprel-marl100 margin-top-24" type="text" readonly value="http://www.rnting.com"  /><br />
                  <div id="qrcode" class="appqrcode" ></div>
              </div>
  
          </div>
      </div>
  </div>
  <!--新增弹窗 end-->
  
  <script src="../../assets/pages/scripts/otherSetting/apprel/qrcode.min.js"></script>
  <script src="../../assets/pages/scripts/otherSetting/apprel/apprelease.js"></script>