发布于 1970-01-01 08:00
  • 2 个回答
    • 好歹给个数据让测试一下啊,光看能看出什么来

      2022-11-30 23:26 回答
    • 因为抓取的是公司的OA系统,所以不方便透露全部代码,而且我在匹配后是要连接本地的数据库,进行数据匹配,填入相应的值!
      下面是我要匹配的页面的表单:

      <form action="" method="post" id="myform">
                              <input type="hidden" value="1010" name="call[id2]">
                              <ul class="clearfix">
                                  <li><label><span><em>*</em>用户名:</span><input type="text" name="user[userid]" id="userid" class="ipt custom_ipt" onblur="checkName()" value="yangtao"></label></li>
                                  <li><label><span><em>*</em>真实姓名:</span><input type="text" name="user[username]" id="username" class="ipt custom_ipt" value="杨涛"></label></li>
                                  <li><label><span>性别:</span>
                                      <input type="radio" name="user[sex]" id="sex1" value="男">男&nbsp;
                                      <input type="radio" name="user[sex]" id="sex2" value="女">女
                                  </label></li>
                                  <li><label><span>固定电话:</span><input type="text" name="user[usertel]" id="usertel" class="ipt" value=""></label></li>
                                  <li><label><span>移动电话:</span><input type="text" name="user[usermobile]" id="usermobile" value="15800470152" class="ipt custom_ipt"></label></li>
                                  <li><label><span><em>*</em>电子邮件:</span><input type="text" name="user[useremail]" id="useremail" value="yangtao@qiso360.com" class="ipt custom_ipt"></label></li>
                                  <li style="position:relative;"><label><span><em>*</em>部门:</span>
                                      <input type="text" class="ipt one_btn_client" id="departmentid" value="上分销售部">
                                      <input type="hidden" class="one_btn_search" name="user[departmentid]" value="89">
                                      <ul class="client_list">
                                      </ul>
                                  </label></li> 
                              <li><label><span>详细地址:</span><input type="text" name="user[address]" value="" class="ipt custom_ipt"></label></li>
                              <li><label><span>坐席工号:</span><input type="text" value="8451" name="call[cno]" class="ipt custom_ipt"></label>(工号取值范围2000-9999)</li>
                              <li><label><span>坐席区号:</span><input type="text" value="021" name="call[areaCode]" class="ipt custom_ipt"></label>(座席所在地区区号)</li>
                              <li><label><span>是否管理人员:</span><input type="radio" name="isManager" value="1" checked="">否 <input type="radio" name="isManager" value="2">是</label></li>
                              <li><label><span>坐席密码:</span><input type="text" value="Aa123456" name="call[pwd]" class="ipt custom_ipt"></label>(不填为默认密码123456)</li>
                              <li><label><span>描述信息:</span><textarea class="descript_cont" name="user[userDesc]" id="userDesc"></textarea></label></li>
                              <li><label><span>状态:</span><input type="radio" name="user[num]" value="1" checked="">正常&nbsp;&nbsp;<input type="radio" name="user[num]" value="2">冻结&nbsp;&nbsp;<input type="radio" name="user[num]" value="3">离职</label>
                              </li>
                              </ul>
                              <div class="add_custom_add">
                                  <input type="hidden" name="user[id]" id="uid" value="3408">
                                  <input type="button" value="保存" class="btn_add" id="bbs">
                                  <a href="/UserManage/userinfo" class="btn_add">返回</a>
                              </div>
                          </form>
      2022-11-30 23:26 回答
    撰写答案
    今天,你开发时遇到什么问题呢?
    立即提问
    PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
    Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有