コード例 #1
0
ファイル: form_work_done.php プロジェクト: saintyk/yndl_2
              <input class="form-control needPerm" roles="2" groups="4" size="16" type="text" name="start_date" id="start_date" value="<?php 
echo_post('start_date', date('Y-m-d'));
?>
">
              <span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
          </div>
        </div>

         <div class="form-group">
          <label for="end_date">截止时间</label><span class="help-block" style="display:inline-block; margin-left: 10px;">完工日期</span>
           <div class="input-group date" id="dp2" data-date="<?php 
echo date('Y-m-d');
?>
" data-date-format="yyyy-mm-dd">
              <input class="form-control needPerm" roles="2" groups="4" size="16" type="text" name="end_date" id="end_date" value="<?php 
echo_post('end_date', date('Y-m-d'));
?>
">
              <span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
          </div>
        </div>
          
         <div class="form-group">
          <!-- 工时明细查询 -->
          <!--<span class="help-block">操作者工时明细查询/工时汇总</span>-->
           <span class="help-block">操作者工时汇总</span>
          <!--<button type="submit" class="btn btn-success" onclick="statByWorkDoneDate(); return false;"><span class="glyphicon glyphicon-search"></span> 工时明细查询</button>-->
          <!-- 工时汇总 -->
          <button type="submit" class="btn btn-danger" onclick="statAllByWorkDoneDate(); return false;"><span class="glyphicon glyphicon-search"></span> 工时汇总查询</button>
          <button type="reset" class="btn btn-default btn-cancel"><span class="glyphicon glyphicon-share"></span> 重置</button>
        </div>
コード例 #2
0
ファイル: list.php プロジェクト: saintyk/yndl_2
                            <label class="sr-only" for="ticket">工票序号</label>
                            <span class="help-block">工票序号</span>
                            <input type="text" class="form-control needPerm" roles="2" groups="4" name="ticket" id="ticket" value="<?php 
echo_post('ticket');
?>
" placeholder="工票序号">
                        </div>-->
                    </div>
                    <br>

                    <div class="row">
                         <div class="col-xs-12">
                            <label class="sr-only" for="remark">备注</label>
                            <span class="help-block">备注</span>
                            <textarea id="remark" class="form-control needPerm" roles="2,8" groups="4" name="remark"><?php 
echo_post('remark');
?>
</textarea>
                        </div>
                    </div>
                    <br>

                    <div class="row">
                        <div class="col-xs-12">
                            <button type="button" class="btn btn-sm btn-primary" onclick="ajaxAddWork(); return false;"><span class="glyphicon glyphicon-edit"></span> 提交</button>
                            <button type="reset" class="btn btn-sm btn-default btn-cancel"><span class="glyphicon glyphicon-share"></span> 重置</button>
                        </div> 
                    </div>
                    </fieldset>
                </form>
                   
コード例 #3
0
ファイル: list.php プロジェクト: saintyk/yndl_2
?>
" >
	                    <span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
	                </div>
	                
				</div> 

				<div class="col-xs-4">
					<label class="sr-only" for="planned_completion_date">计划完工日期</label>
					<span class="help-block">计划完工日期</span>
					<div class="input-group date" id="dp2" data-date="<?php 
echo date('Y-m-d');
?>
" data-date-format="yyyy-mm-dd">
	                    <input class="form-control needPerm"  roles='2' groups='4' size="16" type="text" name="planned_completion_date" id="planned_completion_date" value="<?php 
echo_post('planned_completion_date');
?>
" >
	                    <span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
	                </div>
				</div>

				<div class="col-xs-4">
	                <label class="sr-only" for="remark">备注</label>
	                <span class="help-block">备注</span>
	               	<textarea id="remark" name="remark" class="form-control needPerm" roles="1,2,3,7" groups="2,4" placeholder=""></textarea>
	            </div>

           </div>
			
			<div class="row">
コード例 #4
0
ファイル: edit.php プロジェクト: saintyk/yndl_2
?>
">
			</div>

			<div class="form-group">
				<label for="password_2">用户密码*</label>
				<input type="password" id="password_2" name="password_2" class="form-control" placeholder="请再输入一次" value="<?php 
echo_post('password_2');
?>
">
			</div>

			<div class="form-group">
				<label for="username">持有人姓名</label>
				<input type="text" id="username" name="username" class="form-control" placeholder="持有人姓名" value="<?php 
echo_post('username', $user->username);
?>
">
			</div>

			<div class="form-group">
				<label for="group_id">所属用户组</label>
				<select name="group_id" id="group_id" class="form-control">
					<?php 
$groups = get_config('users.group');
foreach ($groups as $group) {
    ?>
					<option value="<?php 
    echo $group['id'];
    ?>
" <?php 
コード例 #5
0
<div class="container" style="width: 600px;">

  <!-- 月相次项次进度表 -->
  <div class="col-md-12">
    <form role="form">
      <fieldset>

      	<div class="form-group">
          <label for="start_date">项次月份</label>
          <div class="input-group date" id="dp1" data-date="<?php 
echo date('Y-m');
?>
" data-date-format="yyyy-mm">
              <input class="form-control needPerm" roles="2" groups="4" size="16" type="text" name="start_date" id="start_date" value="<?php 
echo_post('start_date', date('Y-m'));
?>
">
              <span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
          </div>
        </div>

         <div class="form-group">
          <span class="help-block">月项次进度查询</span>
          <button type="submit" class="btn btn-success" onclick="statItemMonthProc(); return false;"><span class="glyphicon glyphicon-search"></span> 查询</button>
          <button type="reset" class="btn btn-cancel btn-default"><span class="glyphicon glyphicon-share"></span> 重置</button>
        </div>

      </fieldset>
     </form>
    </div>
コード例 #6
0
ファイル: add.php プロジェクト: saintyk/yndl_2
					<label class="sr-only" for="name">零件名称</label>
					<span class="help-block">零件名称</span>
					<input type="text" class="form-control needPerm" roles="1,2" groups="4" name="name" id="name" value="<?php 
echo_post('name');
?>
" placeholder="零件名称">
				</div>
			</div>
			<br>
			
			<div class="row">
				<div class="col-xs-12">
					<label  class="sr-only" for="graphic_num">零件图号</label>
					<span class="help-block">零件图号</span>
					<input type="text" class="form-control needPerm" roles="1,2" groups="4" name="graphic_num" id="graphic_num" value="<?php 
echo_post('graphic_num');
?>
" placeholder="零件图号">
				</div>
			</div>
			<br>

			<div class="row">
		 		<div class="col-xs-4">
	                <button type="button" class="btn btn-primary" onclick="ajaxAddPart(); return false;"><span class="glyphicon glyphicon-edit"></span> 提交</button>
	                <button type="reset" class="btn btn-cancel btn-default"><span class="glyphicon glyphicon-share"></span> 重置</button>
	            </div>   
			</div>
		</form>
	</div>
</div>
コード例 #7
0
ファイル: edit.php プロジェクト: saintyk/yndl_2
						<div class="input-group date" id="dp2" data-date="<?php 
echo date('Y-m-d');
?>
" data-date-format="yyyy-mm-dd">
				            <input class="form-control needPerm" roles="2" groups="4" size="16" type="text" name="production_date" id="production_date" value="<?php 
echo_post('production_date', $part->production_date ? date('Y-m-d', strtotime($part->production_date)) : '');
?>
" >
				            <span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
				        </div>
					</div>
					<div class="col-xs-4">
		                <label class="sr-only" for="remark">备注</label>
		                <span class="help-block">备注</span>
		                <textarea id="remark" name="remark" class="form-control needPerm" roles="1,2,3" groups="4"><?php 
echo_post('remark', $part->remark);
?>
</textarea>
		            </div>
				</div>
				<br>

				<div class="row">
					  <div class="col-xs-4">
		                <button type="button" class="btn btn-success" onclick="ajaxEditPart(); return false;"><span class="glyphicon glyphicon-edit"></span> 保存</button>
		                <button type="reset" class="btn btn-default btn-cancel"><span class="glyphicon glyphicon-share"></span> 重置</button>
		            </div>   
				</div>
				</fieldset>
	 	 	</form>
	 	 </div>
コード例 #8
0
ファイル: add.php プロジェクト: saintyk/yndl_2
?>
">
				</div>

				<div class="form-group">
					<label for="name">姓名</label>
					<input type="text" id="name" name="name" class="form-control" placeholder="员工姓名" value="<?php 
echo_post('name');
?>
">
				</div>

				<div class="form-group">
					<label for="short">拼音缩写</label>
					<input type="text" id="short" name="short" class="form-control" placeholder="姓名拼音缩写" value="<?php 
echo_post('short');
?>
">
				</div>

				<div class="form-group">
					<label for="group_id">所属班组</label>
					<select name="group_id" id="group_id" class="form-control">
						<?php 
$groups = get_config('staffs.group');
foreach ($groups as $grp) {
    ?>
							<?php 
    if ($grp['id']) {
        ?>
								<option value="<?php 
コード例 #9
0
ファイル: edit.php プロジェクト: saintyk/yndl_2
					<label class="sr-only" for="name">零件名称</label>
					<span class="help-block">零件名称</span>
					<input type="text" class="form-control needPerm" roles="1,2" groups="4" name="name" id="name" value="<?php 
echo_post('name', $file->name);
?>
" placeholder="零件名称">
				</div>
			</div>
			<br>
			
			<div class="row">
				<div class="col-xs-12">
					<label  class="sr-only" for="graphic_num">零件图号</label>
					<span class="help-block">零件图号</span>
					<input type="text" class="form-control needPerm" roles="1,2" groups="4" name="graphic_num" id="graphic_num" value="<?php 
echo_post('graphic_num', $file->graphic_num);
?>
" placeholder="零件图号">
				</div>
			</div>
			<br>

			<div class="row">
		 		<div class="col-xs-4">
	                <button type="button" class="btn btn-success" onclick="ajaxEditPart(); return false;"><span class="glyphicon glyphicon-edit"></span> 保存</button>
	                <button type="reset" class="btn btn-cancel btn-default"><span class="glyphicon glyphicon-share"></span> 重置</button>
	            </div>   
			</div>
		</form>
	</div>
</div>
コード例 #10
0
ファイル: edit.php プロジェクト: saintyk/yndl_2
?>
">
				</div>

				<div class="form-group">
					<label for="name">姓名</label>
					<input type="text" id="name" name="name" class="form-control" placeholder="员工姓名" value="<?php 
echo_post('name', $staff->name);
?>
">
				</div>

				<div class="form-group">
					<label for="short">拼音缩写</label>
					<input type="text" id="short" name="short" class="form-control" placeholder="姓名拼音缩写" value="<?php 
echo_post('short', $staff->short);
?>
">
				</div>

				<div class="form-group">
					<label for="group_id">所属班组</label>
					<select name="group_id" id="group_id" class="form-control">
						<?php 
$groups = get_config('staffs.group');
foreach ($groups as $grp) {
    ?>
							<?php 
    if ($grp['id']) {
        ?>
							<option value="<?php 
コード例 #11
0
ファイル: login.php プロジェクト: saintyk/yndl_2
?>
		
		<div class="container" style="margin-top: 80px;">

			<div id="loginForm">
				<?php 
include_element('messages.php');
?>
	
				<form class="form-horizontal" role="form" action="#" method="POST" onsubmit="return validate();">

					<div class="form-group">
						<label for="account" class="col-sm-3 control-label">用户名</label>
						<div class="col-sm-6">
							<input type="text" class="form-control" id="account" name="account" placeholder="用户名" value="<?php 
echo_post('account');
?>
">
						</div>
					</div>

					<div class="form-group">
						<label for="password" class="col-sm-3 control-label">密码</label>
						<div class="col-sm-6">
							<input type="password" class="form-control" id="password" name="password" placeholder="密码">
						</div>
					</div>

					<!--<div class="form-group">
						<label for="captcha" class="col-sm-3 control-label">验证码</label>
						<div class="col-sm-3">
コード例 #12
0
ファイル: check.php プロジェクト: saintyk/yndl_2
					</div>

					<div class="col-xs-4">
						<label class="sr-only" for="count">分配件数</label>
						<span class="help-block">分配件数</span>
						<input type="text" class="form-control" name="count" id="count" value="<?php 
echo_post('count', $work->count);
?>
" readOnly>
					</div>

					<div class="col-xs-4">
						<label class="sr-only" for="count_check">交验件数</label>
						<span class="help-block">交验件数</span>
						<input type="text" class="form-control needPerm" roles="2,8" groups="4" name="count_check" id="count_check" value="<?php 
echo_post('count_check');
?>
" placeholder="交验件数">
					</div>

				</div>
				<br>

				<div class="row">
					 <div class="col-xs-4 btn-group-sm" >
		                <button type="button" class="btn btn-success" onclick="ajaxCheckWork(); return false;"><span class="glyphicon glyphicon-eye-open"></span> 提交</button>
		                <button type="reset" class="btn btn-default btn-cancel"><span class="glyphicon glyphicon-share"></span> 重置</button>
		            </div>    
				</div>

 			 </fieldset>
コード例 #13
0
ファイル: edit.php プロジェクト: saintyk/yndl_2
			<br>

			<div class="row">

				<div class="col-xs-4">
					<label for="" class="sr-only">工艺编制备选人</label>
					<span class="help-block">工艺编制备选人</span>
					<p>何锦坤, 杨漠, 王锦, 戴平基, 尤民强, 曹彪</p>
				</div>

				<div class="col-xs-4">
		            <label class="sr-only" for="remark">备注</label>
		            <span class="help-block">备注</span>
		            <div class="controls">
		                <textarea id="remark" name="remark" class="form-control needPerm" roles="6" groups="1"><?php 
echo_post('remark', $prod->remark);
?>
</textarea>
		            </div>
		        </div>   
			</div>
			<br>
			
			<div class="row">
				<div class="col-xs-4">
		       		<button type="button" onclick="ajaxEditProd(); return false;" class="btn btn-success"><span class="glyphicon glyphicon-edit"></span> 保存</button>
		      		<button type="reset" class="btn btn-default btn-cancel"><span class="glyphicon glyphicon-share"></span> 重置</button>
		        </div>
			</div>
			<br>
			</fieldset>
コード例 #14
0
ファイル: add.php プロジェクト: saintyk/yndl_2
?>
">
			</div>

			<div class="form-group">
				<label for="password_2">用户密码*</label>
				<input type="password" id="password_2" name="password_2" class="form-control" placeholder="请再输入一次" value="<?php 
echo_post('password_2');
?>
">
			</div>

			<div class="form-group">
				<label for="username">持有人姓名</label>
				<input type="text" id="username" name="username" class="form-control" placeholder="持有人姓名" value="<?php 
echo_post('username');
?>
">
			</div>

			<div class="form-group">
				<label for="group_id">所属用户组</label>
				<select name="group_id" id="group_id" class="form-control">
					<?php 
$groups = get_config('users.group');
foreach ($groups as $group) {
    ?>
					<option value="<?php 
    echo $group['id'];
    ?>
"><?php