2db47680
hexiaodong
chore: 初始提交 php 遗...
|
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
|
<style>
.sp_result_area_open{
left: 50px !important;
}
#selectworker table {
border: 1px solid #d2d2d2;
border-collapse: unset !important;
}
legend {
padding-bottom:8px;
font-size:14px;
font-weight:600;
padding-left: 10px;
padding-right: 15px;
padding-top: 8px;
background: #f4f4f4;
margin-bottom: 4px;
}
form {
padding: 8px;
background: #fbfbfb;
}
.nav-tabs-custom{
margin-bottom: 0!important;
}
.main-content .tab-content{
/*height: calc(100vh - 82px)!important;*/
overflow: auto;
overflow-x: hidden;
padding: 10px 0 0 10px!important;
scrollbar-width: thin;
margin-bottom: 8px;
}
div ::-webkit-scrollbar {
/*滚动条整体*/
width: 4px;
height: 8px;
border-radius: 5px;
}
div ::-webkit-scrollbar-track {
/*滚动条轨道*/
background: #e3e3e3;
border-radius: 2px;
}
div ::-webkit-scrollbar-thumb {
/*滚动条里面的滑块*/
background: #d1d1d1;
border-radius: 2px;
}
div ::-webkit-scrollbar-thumb:hover {
/*滚动条鼠标事件,鼠标放上去出现的事件*/
background: #a8a8a8;
}
div ::-webkit-scrollbar-corner {
/*滚动条边角*/
background: #a8a8a8;
}
.ebill-empty-hint{
width: 100%;
height: 34px;
text-align: center;
position: absolute;
top:calc(50vh - 17px);
font-size: 16pt;
font-family: '黑体';
color: #c2c2c2;
}
.tabbox{width:100%;}
.tabbox .tabbox-ul{list-style:none;padding-inline-start:0.9em;}
.tabbox .tabbox-ul li{width:32%;border:1px solid #008dfb;margin-right:-1px;cursor:pointer;
text-align: center;height: 42px;line-height: 42px;float: left;
}
.tabbox .tabbox-ul li.active{background-color:#008dfb;color:#fff;font-weight:bold;}
.tabbox .content{padding:0;}
.tabbox .content>div{display:none;}
.tabbox .content>div.active{display:block;}
</style>
<script type="text/javascript" src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script>
$(function ()
{
$(".tabbox li").click(function ()
{
//获取点击的元素给其添加样式,讲其兄弟元素的样式移除
$(this).addClass("active").siblings().removeClass("active");
//获取选中元素的下标
var index = $(this).index();
$(this).parent().siblings().children().eq(index).addClass("active")
.siblings().removeClass("active");
});
});
</script>
<div class="row main-content">
<div class="tabbox">
<ul class="tabbox-ul">
<li class="active">流程审批</li>
<li>填写表单</li>
<li>流程图</li>
</ul>
<div class="content">
<div class="active">
<div id="fastflow-left-content" class="col-md-6 col-lg-6 col-sm-6" style="margin-top:50px;">
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#back-form" data-toggle="tab" aria-expanded="true">审批:<span class="label label-danger">驳回</span></a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="back-form">
<form id="flow-form" class="form-horizontal" role="form" data-toggle="validator" method="POST"
action="{:url('back')}">
<input class="hidden" name="row[thread_id]" value="{$thread_id}">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Checkcontent')}:</label>
<div class="col-xs-12 col-sm-8">
<textarea class="form-control" name="row[checkcontent]" type="text"></textarea>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Filename')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="fastflow-c-file_name" class="form-control" name="row[file_name]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('File')}:</label>
<div class="col-xs-12 col-sm-8">
<div class="input-group">
<input id="fastflow-c-file" class="form-control" size="50" name="row[file]" type="text">
<div class="input-group-addon no-border no-padding">
<span><button type="button" id="fastflow-faupload-file" class="btn btn-danger faupload"
data-input-id="fastflow-c-file" data-multiple="false" data-preview-id="fastflow-p-file"><i
class="fa fa-upload"></i> {:__('Upload')}</button></span>
<span><button type="button" id="fastflow-fachoose-file" class="btn btn-primary fachoose"
data-input-id="fastflow-c-file" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
</div>
<span class="msg-box n-right" for="fastflow-c-file"></span>
</div>
<ul class="row list-inline faupload-preview" id="fastflow-p-file"></ul>
</div>
</div>
<div class="form-group" style="margin-bottom: 6px;">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class=" col-xs-12 col-sm-8">
<b class="alert alert-warning-light" style="padding: 10px;display: block;margin-bottom: 8px;">提示:如果被驳回的步骤具有多分支,则该步骤所有分支的审批将被强制终止</b>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('BackTo')}:</label>
<div class="col-xs-12 col-sm-8">
<select class="form-control selectpicker" multiple="multiple" name="row[back_steps][]">
{volist name='canback_presteps' id='steps'}
<option value="{$steps['id']}">{$steps['name']}</option>
{/volist}
</select>
</div>
</div>
<div id="fastflow-carbon-select" class="form-group">
<label class="control-label col-xs-12 col-sm-2">抄送:</label>
<div class="col-xs-12 col-sm-8">
<table class="table">
<tbody>
<tr>
<th style="text-align: center">域</th>
<th style="text-align: center">接收人(分组)</th>
<th>抄送范围</th>
</tr>
<tr>
<td>
<select id="fastflow-carbon_scope" class="form-control" style="alignment: center" name="row[carbon_scope]">
{volist name='carbon_scope' id='item'}
<option value="{$item['value']}">{$item['name']}</option>
{/volist}
</select>
</td>
<td>
<span>
<input id="fastflow-carbon_receiver" data-source="fastflow/flow/run/getSelectpageWorkers" data-field="name" data-primary-key="id" data-multiple="true" class="form-control selectpage" name="row[carbon_receiver]" type="text">
</span>
</td>
<td>
<div class="radio">
<label for="fastflow-carbon_range-1"><input id="fastflow-carbon_range-1" name="row[carbon_range]" type="radio" value="1" checked="">当前</label>
<label for="fastflow-carbon_range-2"><input id="fastflow-carbon_range-2" name="row[carbon_range]" type="radio" value="2">全部</label>
</div>
</td>
</tbody>
</table>
</div>
</div>
<div class="form-group layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">
<div class="pull-right">
<button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div>
<div id="fastflow-edit-content" class="col-md-6 col-lg-6 col-sm-6">
<div class="nav-tabs-custom">
<!-- <ul class="nav nav-tabs">-->
<!-- <li class="active"><a href="#bill-edit" data-toggle="tab" aria-expanded="true">填写表单</a></li>-->
<!-- {if $ebill_id != null}-->
<!-- <li><a id="ebill-tab" href="#ebill" data-toggle="tab" aria-expanded="true">电子表单</a></li>-->
<!-- {/if}-->
<!-- </ul>-->
<div class="tab-content">
<div class="tab-pane active" id="bill-edit"></div>
{if $ebill_id != null}
<div class="tab-pane" id="ebill" style="overflow: hidden;">
<span class="ebill-empty-hint">无电子表单</span>
<iframe id="fastflow-ebill" class="hidden" data-src="{:url('/fastflow/flow/ebill/preview')}" style="width: 100%;height: 100%;border: none;overflow: auto;margin-left: -4px;"></iframe>
</div>
{/if}
</div>
</div>
</div>
</div>
<div>
<div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Preview')}:</label>
<div class="col-xs-12 col-sm-8">
<iframe id="fastflow-viewer"
src="{:url('/fastflow/flow/flow/preview',['flow_id'=>$flow_id,'isstart'=>'false'])}" border="0"
marginwidth="0" marginheight="0" scrolling-x="no" scrolling-y="auto" allowtransparency="yes" width="100%"
style="height: calc(100vh - 207px);" frameborder="no"></iframe>
</iframe>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
|