echo ' checked="checked"'; } echo ' style="border:0;" />' . $nodename[$i]; } } ?> <br> <?php get_smsbox("审批人员", "work"); ?> <!--<input type="hidden" name="staffname" value=""> <input type="hidden" name="staffid" value=""> <input type="hidden" name="phone" value=""> <a href="#uid2" onClick="window.open ('admin.php?ac=attamember&fileurl=approval&type=0', 'newwindow', 'height=500, width=550, top=0, left=0, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no')">+选择拟办人员</a><input type="text" name="staff" value="" style="border:0px; background-color:#FFFFFF; width:40px;"> <?php get_smsbox("审批人员", "keyuser"); ?> --></td> </tr> <tr align="center" class="TableControl"> <td colspan="2" nowrap height="35"> <input type="button" name="Submit" value="存草稿" class="BigButtonBHover" onclick=" document.save.save_type.value='2';document.save.submit();"> <input type="button" name="Submit" value="发布信息" class="BigButtonBHover" onclick="sendForm();"> <input type="hidden" value="1" name="save_type"> <input type="button" name="Submit" value="继续新建" class="BigButtonBHover" onclick=" document.save.save_type.value='3';sendForm();"> </td> </tr> </table> </form>
//不可选 get_pubuser(1, "staff", $flowuser[0], "+选择审批人员", 120, 20, $flow['flowuser']); } } else { //多人审批 if ($flow['flowkey1'] == '1') { //可选 get_pubuser(2, "staff", $flow['flowuser'], "+选择审批人员", 40, 4); } else { //不可选 echo "<textarea name='staff' cols='40' rows='4'"; echo " readonly style='background-color:#F5F5F5;color:#006600;'>"; echo $flow['flowuser'] . "</textarea>"; echo "<input type='hidden' name='staffid' value='" . get_realid($flow['flowuser']) . "' />"; } } echo '<br>'; echo get_smsbox("审批人员", "shownamemaster") . '</td></tr>'; ?> <tr align="center" class="TableControl"> <td colspan="2" nowrap height="35"> <input type="button" name="Submit" value="提交审批" class="BigButtonBHover" onclick="sendForm();"> </td> </tr> </table> </form> </body> </html>
get_pubuser(2, "person", $user['person'], "+选择负责人", 60, 3); ?> <?php get_smsbox("负责人", "person"); ?> </td> </tr> <tr> <td nowrap class="TableContent"> 参与人员:</td> <td class="TableData"> <?php get_pubuser(2, "participation", $user['participation'], "+选择人员", 60, 3); ?> <?php get_smsbox("参与人员", "participation"); ?> </td> </tr> <tr> <td nowrap class="TableContent"> 备注:</td> <td class="TableData"><textarea name="note" cols="70" rows="5" class="BigInput"><?php echo $user['note']; ?> </textarea></td> </tr> </table> <table width="90%" style="border-left:#4686c6 solid 1px;border-right:#4686c6 solid 1px;" align="center"> <tr> <td nowrap class="TableContent" width="104" style="border-right:#cccccc solid 1px;">内容:<?php get_helps();
?> </td> <td class="TableData"><input type="text" name="enddate" class="BigInput" size="20" style="width:168px;" value="" onClick="WdatePicker();" /> </td> </tr> <tr> <td nowrap class="TableContent" width="15%"> 执行人:<?php get_helps(); ?> </td> <td class="TableData"><?php get_pubuser(1, "user", "", "+选择执行人", 60, 20); ?> <?php get_smsbox("执行人", "user"); ?> </td> <td class="TableContent">附件文档:</td> <td class="TableData"><?php echo public_upload('appendix', ''); ?> </td> </tr> </table> <table width="90%" style="border-left:#4686c6 solid 1px;border-right:#4686c6 solid 1px;" align="center"> <tr> <td width="15%" style="border-right:#CCCCCC solid 1px;" class="TableContent"> 任务内容:<?php get_helps();
echo $user['subject']; ?> " size=50 > </td> </tr> <?php if ($user['id'] == '') { ?> <tr> <td nowrap class="TableContent"> 阅读人:</td> <td class="TableData"> <?php get_pubuser(2, "shownamemaster", 0, "+选择阅读人", 50, 4); ?> <br>请选择阅读人,不选为所有人可查看 <?php get_smsbox("阅读人", "shownamemaster"); ?> </td> </tr> <?php } ?> <tr> <td nowrap class="TableContent" width="100"> 附件设置:</td> <td class="TableData"> <div id="div_filelist"></div> <input type="hidden" name="appendix" value="<?php echo $user['appendix']; ?>
get_pubuser(1, "staff", '', "+选择审批人员", 120, 20, $flow['flowuser']); } } else { //多人审批 if ($flow['flowflag'] == '1') { //可选 get_pubuser(2, "staff", $flow['flowuser'], "+选择审批人员", 40, 4); } else { //不可选 echo "<textarea name='staff' cols='40' rows='4'"; echo " readonly style='background-color:#F5F5F5;color:#006600;'>"; echo $flow['flowuser'] . "</textarea>"; echo "<input type='hidden' name='staffid' value='" . get_realid($flow['flowuser']) . "' />"; } } echo '<br>' . get_smsbox("审批人员", "work") . '</td></tr>'; } echo '</tbody>'; } ?> <tr align="center" class="TableControl"> <td colspan="2" nowrap height="35"> <input type="button" name="Submit" value="提交审批" class="BigButtonBHover" onclick="sendForm();"> </td> </tr> </table> <table class="TableBlock" border="0" width="90%" align="center" style="margin-top:20px;"> <tr> <td nowrap class="TableHeader" colspan="2" id="m2"><b> 附件设置</b></td> </tr>
} } else { if ($flow['flowkey1'] == '1') { //可选 get_pubuser(2, "userkey", $flow['flowuser'], "+选择审批人员", 40, 4); } else { echo "<textarea name='userkey' cols='40' rows='4'"; echo " readonly style='background-color:#F5F5F5;color:#006600;'>"; echo $flow['flowuser'] . "</textarea>"; echo "<input type='hidden' name='userkeyid' value='" . get_realid($flow['flowuser']) . "' />"; } } ?> <br> <?php get_smsbox("审批人员", "work"); ?> <br> 注:流程第一步审批人员,这里选择你的下一级办理人,必需填写! </td> </tr> <?php if ($_CONFIG->config_data('configinfoview') == '1') { ?> <tr> <td nowrap class="TableContent" width="15%"> 通知其它人员:</td> <td class="TableData"> <?php echo get_pubuser(2, "viewuser", '', "+选择人员", 60, 4); ?>
</td> </tr> <?php if ($user['id'] == '') { ?> <tr> <td nowrap class="TableContent" width="100"> 审批人员:<?php get_helps(); ?> </td> <td class="TableData"> <?php get_pubuser(1, "staffid", "", "+选择审批人", 60, 20); ?> <?php get_smsbox("审批人", "staffid"); ?> </td> </tr> <?php } ?> <tr> <td nowrap class="TableContent"> 会议名称:<?php get_helps(); ?> </td> <td class="TableData"> <input name="title" type="text" class="BigInput" id="title" value="<?php echo $user['title'];
function crm_flow_add($modid = '') { global $db; $flow = $db->fetch_one_array("SELECT * FROM " . DB_TABLEPRE . "crm_flow WHERE modid = '" . $modid . "' and flownum>1"); echo '<table class="TableBlock" border="0" width="90%" align="center"> <tr> <td nowrap class="TableHeader" colspan="2"><b> 审批人员</b></td> </tr> <tr> <td nowrap class="TableContent" width="15%"> 设置审批人员:'; get_helps(); echo '</td> <td class="TableData"> <input type="hidden" name="flowid" value="' . $flow['fid'] . '" /> <input type="hidden" name="appkey" value="' . $flow['flowkey2'] . '" /> <input type="hidden" name="appkey1" value="' . $flow['flowkey3'] . '" />'; if ($flow['flowkey2'] == '2') { //单人审批 if ($flow['flowkey1'] == '1') { //可选 get_pubuser(1, "userkey", '', "+选择审批人员", 120, 20); } else { get_pubuser(1, "userkey", '', "+选择审批人员", 120, 20, $flow['flowuser']); } } else { if ($flow['flowkey1'] == '1') { //可选 get_pubuser(2, "userkey", $flow['flowuser'], "+选择审批人员", 40, 4); } else { echo "<textarea name='userkey' cols='40' rows='4'"; echo " readonly style='background-color:#F5F5F5;color:#006600;'>"; echo $flow['flowuser'] . "</textarea>"; echo "<input type='hidden' name='userkeyid' value='" . get_realid($flow['flowuser']) . "' />"; } } echo ' <br>'; get_smsbox("审批人员", "work"); echo '<br> 注:流程第一步审批人员,这里选择你的下一级办理人,必需填写! </td> </tr> </table>'; }
</td> <td class="TableData"> <input name="startdate" type="text" class="BigInput" id="startdate" style="width: 120px;" value="<?php echo get_date('Y-m-d', PHP_TIME); ?> " maxlength="100" onClick="WdatePicker();" /> </td> </tr> <tr> <td nowrap class="TableContent"> 采购人:<?php get_helps(); ?> </td> <td class="TableData"> <?php get_pubuser(2, "purchase", "", "+选择采购人员", 50, 4); get_smsbox("采购人员", "purchase"); ?> <br> 指定该采购单的采购人员! </td> </tr> <tr> <td nowrap class="TableContent"> 备注:</td> <td class="TableData"> <textarea name="content" cols="60" rows="4" class="BigInput" id="content"></textarea></td> </tr> <tr> <td nowrap class="TableHeader" colspan="2"><b> 物品设置</b></td> </tr> <tr>
?> </td> </tr> <?php if ($_GET["type"] != '1') { ?> <tr> <td nowrap class="TableContent"> 指定阅读人:<?php get_helps(); ?> </td> <td class="TableData"><?php get_pubuser(2, "readuser", $user['readuser'], "+选择阅读人", 60, 4); ?> <?php get_smsbox("阅读人", "readuser"); ?> </td> </tr> <?php } ?> </table> <table width="90%" style="border-left:#4686c6 solid 1px;border-right:#4686c6 solid 1px;" align="center"> <tr> <td nowrap class="TableContent" width="94" style="border-right:#cccccc solid 1px;">内容:</td> <td class="TableData" style="padding-top:10px; padding-bottom:10px; padding-left:3px;"> <script> KE.show({ id : 'content'