⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tomaintenance_setting.php

📁 电脑设备管理系统 适合于小型企业单位网络管理电脑设备使用
💻 PHP
字号:

<?php 

include('../admin_global.php');

$id=$_GET['id'];



$query=$db->query("SELECT * FROM device,device_brand,device_type,units,sector where device.device_brand=device_brand.brand_id and device.device_type=device_type.type_id and device.device_units=units.units_id and device.device_sector=sector.sector_id and device_id=$id ");

$rs=$db->fetch_array($query);

?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="../css/table.css">

<script language="javascript" type="text/javascript">


</script>
<script src="../js/admin.js"></script>
</head>

<body >
<table width="300" height="22" border="0" cellpadding="0" cellspacing="0" align="center" 
 style="margin-top:25px; color:#000000; font-size:12px"  bgcolor="#ffffff">
  <!--DWLayoutTable-->
  <tr>
   
    
  <td align="center"  valign="middle" ><strong>报修设备ID号为<?=$id?></strong> </td>
  </tr>
</table>
<div id="data">




<table  border="0" cellpadding="0" cellspacing="0"  align="center"  bgcolor="#FFFFFF">
  <!--DWLayoutTable-->
  <tr>  
  <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>设备名称</strong></td>
  <td width="240" align="center"  valign="middle" ><?php echo $rs['device_name'] ?></td>
   <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>设备品牌</strong></td>
  <td width="240" align="center"  valign="middle" ><?php echo $rs['brand_name'] ?></td>
  </tr>
 
  <tr>  
  <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>设备类型</strong></td>
  <td width="250" align="center"  valign="middle" ><?php echo $rs['type_name'] ?></td>
   <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>型号规格</strong></td>
  <td width="250" align="center"  valign="middle" > <?php echo $rs['device_Specification'] ?></td>
  </tr>
  <tr>  
  <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>产品编码</strong></td>
  <td width="250" align="center"  valign="middle" ><?php echo $rs['device_code'] ?></td>
   <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>设备产地</strong></td>
  <td width="250" align="center"  valign="middle" ><?php echo $rs['device_origin'] ?></td>
  </tr>
  <tr>  
  <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>设备价值</strong></td>
  <td width="250" align="center"  valign="middle" ><?php echo $rs['device_value'] ?></td>
   <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>购入单位</strong></td>
  <td width="250" align="center"  valign="middle" ><?php echo $rs['device_orderunits'] ?></td>
  </tr>
   <tr>  
  <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>购入日期</strong></td>
  <td width="250" align="center"  valign="middle" ><?php echo $rs['device_orderdate'] ?></td>
   <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>使用时间</strong></td>
  <td width="250" align="center"  valign="middle" ><?php echo $rs['device_usedate'] ?></td>
  </tr>
   <tr>  
  <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>保修时间</strong></td>
  <td width="250" align="center"  valign="middle" ><?php echo $rs['device_warrantydate'] ?></td>
   <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>设备来源</strong></td>
  <td width="250" align="center"  valign="middle" ><?php echo $rs['device_source'] ?></td>
  </tr>
   <tr>  
  <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>使用单位</strong></td>
  <td width="250" align="center"  valign="middle" ><?php echo $rs['units_name'] ?></td>
   <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>使用部门</strong></td>
  <td width="250" align="center"  valign="middle" ><?php echo $rs['sector_name'] ?></td>
  </tr>
   <tr>  
  <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>责任人</strong></td>
  <td width="250" align="center"  valign="middle" ><?php echo $rs['device_duty'] ?></td>
   <td width="100" align="center"  valign="middle" bgcolor="e9e9e9"><strong>状态</strong></td>
  <td width="250" align="center"  valign="middle" ><?php echo $rs['device_state'] ?></td>
  </tr>
</table>

</div>

<table width="300" height="22" border="0" cellpadding="0" cellspacing="0" align="center" 
 style="margin-top:25px; color:#000000; font-size:12px"  bgcolor="#ffffff">
  <!--DWLayoutTable-->
  
</table>
<form action="device_jod.php?action=maintenancedd"  name="myform" method="post">
<table width="578" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#FFFFFF"
style="margin-top:10px;border: solid 1px #000000;    ">
  <!--DWLayoutTable-->
  <tr>
    <td height="20" colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;    </td>
    </tr>

      <!--DWLayoutTable-->
      <tr>
        <td width="99" height="30" valign="top"><!--DWLayoutEmptyCell-->&nbsp;	 </td>
        <td width="477" align="left" valign="middle" >
		  <span class="mazi">  报修科室:&nbsp;
		<input name="name" type="text" style="width:150px; height:22px;border:   solid   1px   #000000;" >
	    </span></td>
      </tr>
	
  <tr>
        <td width="99" height="30" valign="top"><!--DWLayoutEmptyCell-->&nbsp;	 </td>
        <td width="477" align="left" valign="middle" >
		  <span class="mazi">  报修时间:&nbsp;</span>
		<input name="date" type="text" style="width:150px; height:22px;border:   solid   1px   #000000;" >
		<span  style=" font-size:12px;width:200px;height:22px; color:#FFFFFF;padding-top:5px; padding-left:5px;">

  <a href="javascript:void(0)" onClick="if(self.gfPop)gfPop.fPopCalendar(date);return false;" HIDEFOCUS><img name="popcal" align="absmiddle" src="../calendar/calbtn.gif" width="34" height="22" border="0" alt=""></a>
  <span class="shuoming">日期格式 2007-01-01</span>
	    </span></td>
      </tr>
	  
	    <tr>
        <td width="99" height="30" valign="top"><!--DWLayoutEmptyCell-->&nbsp;	 </td>
        <td width="477" align="left" valign="middle" >
		  <span class="mazi">  &nbsp;&nbsp;&nbsp;&nbsp;报修人:&nbsp;
		<input name="duty" type="text" style="width:150px; height:22px;border:   solid   1px   #000000;" >
	    </span></td>
      </tr>
	  <tr>
        <td width="99" height="30" valign="top"><!--DWLayoutEmptyCell-->&nbsp;	 </td>
        <td width="477" align="left" valign="middle" >
		  <span class="mazi">  故障现象:&nbsp;
		<textarea name="content" cols="50" rows="5"></textarea>
	    </span></td>
      </tr>
	<tr>
    <td height="30" colspan="2" align="center" valign="middle">
	  <span  style="font-size:12px;width:85px;height:22px;background:url(../images/anniu.jpg);padding-top:3px; color:#FFFFFF; cursor:hand " onClick="form_chk()">提 &nbsp;&nbsp;&nbsp;交</span>	</td>
    </tr>
</table>

<input type="hidden" name="device_id" value="<?php echo $_GET['id'] ?>">
</form>



</body>
</html>
<iframe width=174 height=189 name="gToday:normal:agenda.js" id="gToday:normal:agenda.js" src="../calendar/ipopeng.htm" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; left:-500px; top:0px;">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -