jmeter 不同线程组之间传递变量1
一 采用全局变量在不同线程组之间传递变量的坑
${__setProperty(newcompanyId,${companyId},)};
不采用全局变量传递参数,请求报文格式如下:
正确的报文:
{"companyId":67,"createUser":1445,"auditState":2,"dtContentDetail":{"templateId":1220,"dtContent":"{\"companyid\":0,\"createtime\":1526371505000,\"dtComponentList\":[{\"companyId\":0,\"componentid\":1,\"createtime\":1526371505000,\"data\":\"夏飞雪\",\"dateformat\":\"\",\"id\":15597,\"label\":\"出差人\",\"maxlen\":0,\"placeholder\":\"请选择出差人\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text\",\"value\":\"1445\"},{\"companyId\":0,\"componentid\":2,\"createtime\":1526626925000,\"data\":\"董卓\",\"dateformat\":\"\",\"id\":16462,\"label\":\"同行人\",\"maxlen\":20,\"otherprop\":\"[{\\\"maxchoose\\\":\\\"9\\\"}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"maxchoose\":9,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择同行人\",\"required\":\"false\",\"style\":\"1\",\"type\":\"text\",\"value\":\"1273\"},{\"companyId\":0,\"componentid\":9,\"createtime\":1526371505000,\"data\":\"安新县(保定)\",\"id\":15598,\"label\":\"出差城市\",\"maxlen\":20,\"otherprop\":\"[{\\\"strongcontrol\\\":\\\"true\\\",\\\"maxchoose\\\":9,\\\"inputtype\\\":\\\"select\\\"}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"inputtype\":\"select\",\"maxchoose\":9,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":true}],\"placeholder\":\"请选择出差城市\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text\",\"value\":\"01050615\"},{\"companyId\":0,\"componentid\":8,\"createtime\":1543369299000,\"data\":\"安国市(保定)\",\"id\":144358,\"label\":\"出发城市\",\"maxlen\":20,\"otherprop\":\"[{\\\"strongcontrol\\\":\\\"true\\\",\\\"maxchoose\\\":9}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"maxchoose\":9,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":true}],\"placeholder\":\"请选择出发城市\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text\",\"value\":\"01050624\"},{\"companyId\":0,\"componentid\":10,\"createtime\":1526371505000,\"data\":\"2018\/11\/30\",\"dateformat\":\"yyyy-MM-dd\",\"id\":15599,\"label\":\"出发日期\",\"maxlen\":20,\"otherprop\":\"[{\\\"isbeforenow\\\":\\\"true\\\"}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"isbeforenow\":\"true\",\"maxchoose\":0,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择出发日期\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text_date\",\"value\":\"2018\/11\/30\"},{\"companyId\":0,\"componentid\":11,\"createtime\":1526371505000,\"data\":\"2018\/12\/01\",\"dateformat\":\"yyyy-MM-dd\",\"id\":15600,\"label\":\"返回日期\",\"maxlen\":8,\"placeholder\":\"请选择返回日期\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text_date\",\"value\":\"2018\/12\/01\"},{\"companyId\":0,\"componentid\":13,\"createtime\":1538182597000,\"data\":\"机票\",\"dateformat\":\"\",\"id\":143538,\"label\":\"交通工具\",\"maxlen\":0,\"options\":\"[{\\\"label\\\":\\\"飞机\\\",\\\"value\\\":\\\"飞机\\\"},{\\\"label\\\":\\\"火车\\\",\\\"value\\\":\\\"火车\\\"},{\\\"label\\\":\\\"机票\\\",\\\"value\\\":\\\"机票\\\"},{\\\"label\\\":\\\"大巴\\\",\\\"value\\\":\\\"大巴\\\"}]\",\"optionsJsonObject\":[{\"label\":\"飞机\",\"value\":\"飞机\"},{\"label\":\"火车\",\"value\":\"火车\"},{\"label\":\"机票\",\"value\":\"机票\"},{\"label\":\"大巴\",\"value\":\"大巴\"}],\"placeholder\":\"请选择交通工具\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text\",\"value\":\"机票\"},{\"companyId\":0,\"componentid\":14,\"createtime\":1537931657000,\"data\":\"会议\",\"id\":143381,\"label\":\"出差类别\",\"maxlen\":0,\"options\":\"[{\\\"label\\\":\\\"培训\\\",\\\"value\\\":\\\"培训\\\"},{\\\"label\\\":\\\"会议\\\",\\\"value\\\":\\\"会议\\\"},{\\\"label\\\":\\\"援疆\\\",\\\"value\\\":\\\"援疆\\\"}]\",\"optionsJsonObject\":[{\"label\":\"培训\",\"value\":\"培训\"},{\"label\":\"会议\",\"value\":\"会议\"},{\"label\":\"援疆\",\"value\":\"援疆\"}],\"placeholder\":\"请选择出差类别\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text\",\"value\":\"会议\"},{\"companyId\":0,\"componentid\":15,\"createtime\":1526371505000,\"data\":\"扭扭捏捏那你\",\"dateformat\":\"\",\"id\":15601,\"label\":\"出差事由\",\"maxlen\":99,\"placeholder\":\"请填写出差事由\",\"required\":\"true\",\"style\":\"4\",\"type\":\"text\",\"value\":\"扭扭捏捏那你\"},{\"companyId\":0,\"componentid\":17,\"createtime\":1538264971000,\"data\":\"\",\"id\":143547,\"label\":\"上传图像\",\"maxlen\":20,\"otherprop\":\"[{\\\"maxlen\\\":20}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"maxchoose\":0,\"maxlen\":20,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择需要上传的图像\",\"required\":\"false\",\"style\":\"1\",\"type\":\"file\",\"value\":\"\"}],\"id\":1220,\"name\":\"康壮的出差申请模板\"}"}}
采用全局变量传递参数,请求报文格式改变了,改变后的报文如下:
{"companyId":67,"createUser":1445,"auditState":2,"dtContentDetail":{"templateId":1220,"dtContent":"{\"companyid\":0,\"createtime\":1526371505000,\"dtComponentList\":[{\"companyId\":0,\"componentid\":1,\"createtime\":1526371505000,\"data\":\"夏飞雪\",\"dateformat\":\"\",\"id\":15597,\"label\":\"出差人\",\"maxlen\":0,\"placeholder\":\"请选择出差人\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text\",\"value\":\"1445\"},{\"companyId\":0,\"componentid\":2,\"createtime\":1526626925000,\"data\":\"董卓\",\"dateformat\":\"\",\"id\":16462,\"label\":\"同行人\",\"maxlen\":20,\"otherprop\":\"[{\\"maxchoose\\":\\"9\\"}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"maxchoose\":9,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择同行人\",\"required\":\"false\",\"style\":\"1\",\"type\":\"text\",\"value\":\"1273\"},{\"companyId\":0,\"componentid\":9,\"createtime\":1526371505000,\"data\":\"安新县(保定)\",\"id\":15598,\"label\":\"出差城市\",\"maxlen\":20,\"otherprop\":\"[{\\"strongcontrol\\":\\"true\\",\\"maxchoose\\":9,\\"inputtype\\":\\"select\\"}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"inputtype\":\"select\",\"maxchoose\":9,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":true}],\"placeholder\":\"请选择出差城市\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text\",\"value\":\"01050615\"},{\"companyId\":0,\"componentid\":8,\"createtime\":1543369299000,\"data\":\"安国市(保定)\",\"id\":144358,\"label\":\"出发城市\",\"maxlen\":20,\"otherprop\":\"[{\\"strongcontrol\\":\\"true\\",\\"maxchoose\\":9}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"maxchoose\":9,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":true}],\"placeholder\":\"请选择出发城市\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text\",\"value\":\"01050624\"},{\"companyId\":0,\"componentid\":10,\"createtime\":1526371505000,\"data\":\"2018\/11\/30\",\"dateformat\":\"yyyy-MM-dd\",\"id\":15599,\"label\":\"出发日期\",\"maxlen\":20,\"otherprop\":\"[{\\"isbeforenow\\":\\"true\\"}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"isbeforenow\":\"true\",\"maxchoose\":0,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择出发日期\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text_date\",\"value\":\"2018\/11\/30\"},{\"companyId\":0,\"componentid\":11,\"createtime\":1526371505000,\"data\":\"2018\/12\/01\",\"dateformat\":\"yyyy-MM-dd\",\"id\":15600,\"label\":\"返回日期\",\"maxlen\":8,\"placeholder\":\"请选择返回日期\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text_date\",\"value\":\"2018\/12\/01\"},{\"companyId\":0,\"componentid\":13,\"createtime\":1538182597000,\"data\":\"机票\",\"dateformat\":\"\",\"id\":143538,\"label\":\"交通工具\",\"maxlen\":0,\"options\":\"[{\\"label\\":\\"飞机\\",\\"value\\":\\"飞机\\"},{\\"label\\":\\"火车\\",\\"value\\":\\"火车\\"},{\\"label\\":\\"机票\\",\\"value\\":\\"机票\\"},{\\"label\\":\\"大巴\\",\\"value\\":\\"大巴\\"}]\",\"optionsJsonObject\":[{\"label\":\"飞机\",\"value\":\"飞机\"},{\"label\":\"火车\",\"value\":\"火车\"},{\"label\":\"机票\",\"value\":\"机票\"},{\"label\":\"大巴\",\"value\":\"大巴\"}],\"placeholder\":\"请选择交通工具\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text\",\"value\":\"机票\"},{\"companyId\":0,\"componentid\":14,\"createtime\":1537931657000,\"data\":\"会议\",\"id\":143381,\"label\":\"出差类别\",\"maxlen\":0,\"options\":\"[{\\"label\\":\\"培训\\",\\"value\\":\\"培训\\"},{\\"label\\":\\"会议\\",\\"value\\":\\"会议\\"},{\\"label\\":\\"援疆\\",\\"value\\":\\"援疆\\"}]\",\"optionsJsonObject\":[{\"label\":\"培训\",\"value\":\"培训\"},{\"label\":\"会议\",\"value\":\"会议\"},{\"label\":\"援疆\",\"value\":\"援疆\"}],\"placeholder\":\"请选择出差类别\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text\",\"value\":\"会议\"},{\"companyId\":0,\"componentid\":15,\"createtime\":1526371505000,\"data\":\"扭扭捏捏那你\",\"dateformat\":\"\",\"id\":15601,\"label\":\"出差事由\",\"maxlen\":99,\"placeholder\":\"请填写出差事由\",\"required\":\"true\",\"style\":\"4\",\"type\":\"text\",\"value\":\"扭扭捏捏那你\"},{\"companyId\":0,\"componentid\":17,\"createtime\":1538264971000,\"data\":\"\",\"id\":143547,\"label\":\"上传图像\",\"maxlen\":20,\"otherprop\":\"[{\\"maxlen\\":20}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"maxchoose\":0,\"maxlen\":20,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择需要上传的图像\",\"required\":\"false\",\"style\":\"1\",\"type\":\"file\",\"value\":\"\"}],\"id\":1220,\"name\":\"康壮的出差申请模板\"}"}}
变化情况:\\\变成了\\
所以返回:
{"statusCode":503,"msg":"系统异常"}
解决方法:
采用全局替换将报文中所有的\\\"全部替换为\\\\\",看到发送的请求报文 为\\"
:
没有参数化的请求bodydata正常报文:
{"amount":"66666.00","companyId":67,"createUser":1445,"dtContentDetail":{"templateId":30735,"dtContent":"{\"companyid\":0,\"createtime\":1539689951000,\"dtComponentList\":[{\"companyId\":0,\"componentid\":10019,\"createtime\":1541156651000,\"data\":\"夏飞雪\",\"id\":144005,\"label\":\"报销人\",\"maxlen\":0,\"options\":\"\",\"otherprop\":\"[{\\\"canBeDelete\\\":true}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"maxchoose\":0,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择报销人\",\"required\":\"true\",\"style\":\"1\",\"type\":\"select\",\"value\":\"1445\"},{\"companyId\":0,\"componentid\":10001,\"createtime\":1539689951000,\"data\":\"英国\",\"id\":143702,\"label\":\"开始地点\",\"maxlen\":20,\"otherprop\":\"[{\\\"strongcontroll\\\":false,\\\"maxchoose\\\":9,\\\"canBeDelete\\\":true,\\\"inputtype\\\":\\\"input\\\",\\\"maxlen\\\":20}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"inputtype\":\"input\",\"maxchoose\":9,\"maxlen\":20,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择开始地点\",\"required\":\"true\",\"style\":\"3\",\"type\":\"text\",\"value\":\"英国\"},{\"companyId\":0,\"componentid\":10002,\"createtime\":1539689951000,\"data\":\"美国\",\"id\":143703,\"label\":\"结束地点\",\"maxlen\":20,\"otherprop\":\"[{\\\"strongcontroll\\\":false,\\\"maxchoose\\\":9,\\\"canBeDelete\\\":true,\\\"inputtype\\\":\\\"input\\\",\\\"maxlen\\\":20}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"inputtype\":\"input\",\"maxchoose\":9,\"maxlen\":20,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择结束地点\",\"required\":\"true\",\"style\":\"3\",\"type\":\"text\",\"value\":\"美国\"},{\"companyId\":0,\"componentid\":10003,\"createtime\":1539689952000,\"data\":\"2018\/12\/12\",\"dateformat\":\"yyyy-MM-dd\",\"id\":143704,\"label\":\"开始日期\",\"maxlen\":20,\"otherprop\":\"[{\\\"isbeforenow\\\":true,\\\"canBeDelete\\\":true}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"isbeforenow\":\"true\",\"maxchoose\":0,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择开始日期\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text_date\",\"value\":\"2018\/12\/12\"},{\"companyId\":0,\"componentid\":10004,\"createtime\":1539689952000,\"data\":\"2018\/12\/13\",\"dateformat\":\"yyyy-MM-dd\",\"id\":143705,\"label\":\"结束日期\",\"maxlen\":20,\"otherprop\":\"[{\\\"canBeDelete\\\":true}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"maxchoose\":0,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择结束日期\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text_date\",\"value\":\"2018\/12\/13\"},{\"companyId\":0,\"componentid\":10005,\"createtime\":1539689952000,\"data\":\"火车\",\"id\":143706,\"label\":\"交通工具\",\"maxlen\":20,\"options\":\"[{\\\"label\\\":\\\"飞机\\\",\\\"value\\\":\\\"飞机\\\"},{\\\"label\\\":\\\"火车\\\",\\\"value\\\":\\\"火车\\\"},{\\\"label\\\":\\\"机票\\\",\\\"value\\\":\\\"机票\\\"}]\",\"optionsJsonObject\":[{\"label\":\"飞机\",\"value\":\"飞机\"},{\"label\":\"火车\",\"value\":\"火车\"},{\"label\":\"机票\",\"value\":\"机票\"}],\"otherprop\":\"[{\\\"canBeDelete\\\":true}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"maxchoose\":0,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择交通工具(选填)\",\"required\":\"true\",\"style\":\"1\",\"type\":\"select\",\"value\":\"火车\"},{\"companyId\":0,\"componentid\":10006,\"createtime\":1539689952000,\"data\":\"66666.00\",\"id\":143707,\"label\":\"报销总金额\",\"maxlen\":20,\"placeholder\":\"请输入总金额\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text_number\",\"value\":\"66666.00\"}],\"id\":30735,\"name\":\"0000\"}"}}
参数化的请求bodydata正常报文:(将\\\"替换为\\\\\")
{"amount":"${__threadNum}","companyId":67,"createUser":1445,"dtContentDetail":{"templateId":30735,"dtContent":"{\"companyid\":0,\"createtime\":1539689951000,\"dtComponentList\":[{\"companyId\":0,\"componentid\":10019,\"createtime\":1541156651000,\"data\":\"夏飞雪\",\"id\":144005,\"label\":\"报销人\",\"maxlen\":0,\"options\":\"\",\"otherprop\":\"[{\\\\\"canBeDelete\\\\\":true}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"maxchoose\":0,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择报销人\",\"required\":\"true\",\"style\":\"1\",\"type\":\"select\",\"value\":\"1445\"},{\"companyId\":0,\"componentid\":10001,\"createtime\":1539689951000,\"data\":\"英国\",\"id\":143702,\"label\":\"开始地点\",\"maxlen\":20,\"otherprop\":\"[{\\\\\"strongcontroll\\\\\":false,\\\\\"maxchoose\\\\\":9,\\\\\"canBeDelete\\\\\":true,\\\\\"inputtype\\\\\":\\\\\"input\\\\\",\\\\\"maxlen\\\\\":20}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"inputtype\":\"input\",\"maxchoose\":9,\"maxlen\":20,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择开始地点\",\"required\":\"true\",\"style\":\"3\",\"type\":\"text\",\"value\":\"英国\"},{\"companyId\":0,\"componentid\":10002,\"createtime\":1539689951000,\"data\":\"美国\",\"id\":143703,\"label\":\"结束地点\",\"maxlen\":20,\"otherprop\":\"[{\\\\\"strongcontroll\\\\\":false,\\\\\"maxchoose\\\\\":9,\\\\\"canBeDelete\\\\\":true,\\\\\"inputtype\\\\\":\\\\\"input\\\\\",\\\\\"maxlen\\\\\":20}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"inputtype\":\"input\",\"maxchoose\":9,\"maxlen\":20,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择结束地点\",\"required\":\"true\",\"style\":\"3\",\"type\":\"text\",\"value\":\"美国\"},{\"companyId\":0,\"componentid\":10003,\"createtime\":1539689952000,\"data\":\"2018\/12\/12\",\"dateformat\":\"yyyy-MM-dd\",\"id\":143704,\"label\":\"开始日期\",\"maxlen\":20,\"otherprop\":\"[{\\\\\"isbeforenow\\\\\":true,\\\\\"canBeDelete\\\\\":true}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"isbeforenow\":\"true\",\"maxchoose\":0,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择开始日期\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text_date\",\"value\":\"2018\/12\/12\"},{\"companyId\":0,\"componentid\":10004,\"createtime\":1539689952000,\"data\":\"2018\/12\/13\",\"dateformat\":\"yyyy-MM-dd\",\"id\":143705,\"label\":\"结束日期\",\"maxlen\":20,\"otherprop\":\"[{\\\\\"canBeDelete\\\\\":true}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"maxchoose\":0,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择结束日期\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text_date\",\"value\":\"2018\/12\/13\"},{\"companyId\":0,\"componentid\":10005,\"createtime\":1539689952000,\"data\":\"火车\",\"id\":143706,\"label\":\"交通工具\",\"maxlen\":20,\"options\":\"[{\\\\\"label\\\\\":\\\\\"飞机\\\\\",\\\\\"value\\\\\":\\\\\"飞机\\\\\"},{\\\\\"label\\\\\":\\\\\"火车\\\\\",\\\\\"value\\\\\":\\\\\"火车\\\\\"},{\\\\\"label\\\\\":\\\\\"机票\\\\\",\\\\\"value\\\\\":\\\\\"机票\\\\\"}]\",\"optionsJsonObject\":[{\"label\":\"飞机\",\"value\":\"飞机\"},{\"label\":\"火车\",\"value\":\"火车\"},{\"label\":\"机票\",\"value\":\"机票\"}],\"otherprop\":\"[{\\\\\"canBeDelete\\\\\":true}]\",\"otherpropJsonObject\":[{\"canEdit\":false,\"maxchoose\":0,\"maxlen\":0,\"required\":false,\"showList\":false,\"strongcontrol\":false}],\"placeholder\":\"请选择交通工具(选填)\",\"required\":\"true\",\"style\":\"1\",\"type\":\"select\",\"value\":\"火车\"},{\"companyId\":0,\"componentid\":10006,\"createtime\":1539689952000,\"data\":\"${__threadNum}\",\"id\":143707,\"label\":\"报销总金额\",\"maxlen\":20,\"placeholder\":\"请输入总金额\",\"required\":\"true\",\"style\":\"1\",\"type\":\"text_number\",\"value\":\"${__threadNum}\"}],\"id\":30735,\"name\":\"0000\"}"}}
原始请求报文:
{"id":58561,"msg":"同意股海护航呵呵哈哈呵呵","bussJson":"{\"companyId\":67,\"createUser\":1445,\"auditState\":2,\"orderNo\":\"BX181212000057\",\"dtContentDetail\":{\"templateId\":30828,\"dtContent\":\"{\\\"companyid\\\":0,\\\"createtime\\\":1526371599000,\\\"dtComponentList\\\":[{\\\"companyId\\\":0,\\\"componentid\\\":11015,\\\"createtime\\\":1540883126000,\\\"data\\\":\\\"[{\\\\\\\"name\\\\\\\":\\\\\\\"夏飞雪\\\\\\\",\\\\\\\"id\\\\\\\":1445}]\\\",\\\"id\\\":143940,\\\"label\\\":\\\"多人报销\\\",\\\"maxlen\\\":20,\\\"otherprop\\\":\\\"[{\\\\\\\"canBeDelete\\\\\\\":true,\\\\\\\"canDrag\\\\\\\":false}]\\\",\\\"otherpropJsonObject\\\":[{\\\"canEdit\\\":false,\\\"maxchoose\\\":0,\\\"maxlen\\\":0,\\\"required\\\":false,\\\"showList\\\":false,\\\"strongcontrol\\\":false}],\\\"placeholder\\\":\\\"请选择报销人\\\",\\\"required\\\":\\\"true\\\",\\\"style\\\":\\\"1\\\",\\\"type\\\":\\\"select\\\",\\\"value\\\":\\\"[{\\\\\\\"name\\\\\\\":\\\\\\\"夏飞雪\\\\\\\",\\\\\\\"id\\\\\\\":1445}]\\\"},{\\\"companyId\\\":0,\\\"componentid\\\":11001,\\\"createtime\\\":1526371599000,\\\"data\\\":\\\"国网电子商务有限公司\\\",\\\"id\\\":15603,\\\"label\\\":\\\"单位名称\\\",\\\"maxlen\\\":20,\\\"placeholder\\\":\\\"请选择利润中心\\\",\\\"required\\\":\\\"true\\\",\\\"style\\\":\\\"1\\\",\\\"type\\\":\\\"select\\\",\\\"value\\\":\\\"LDS0000001\\\"},{\\\"companyId\\\":0,\\\"componentid\\\":11010,\\\"createtime\\\":1526371599000,\\\"data\\\":\\\"综合管理部\\\",\\\"id\\\":15610,\\\"label\\\":\\\"部门\\\",\\\"maxlen\\\":50,\\\"placeholder\\\":\\\"请选择部门\\\",\\\"required\\\":\\\"true\\\",\\\"style\\\":\\\"1\\\",\\\"type\\\":\\\"text\\\",\\\"value\\\":\\\"CDS0000001\\\"},{\\\"companyId\\\":0,\\\"componentid\\\":11002,\\\"createtime\\\":1526371599000,\\\"data\\\":\\\"{\\\\\\\"value\\\\\\\":\\\\\\\"成本中心\\\\\\\"}\\\",\\\"id\\\":15604,\\\"label\\\":\\\"成本分配\\\",\\\"maxlen\\\":20,\\\"options\\\":\\\"[{\\\\\\\"label\\\\\\\":\\\\\\\"成本中心\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"1\\\\\\\"},{\\\\\\\"label\\\\\\\":\\\\\\\"WBS\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"2\\\\\\\"},{\\\\\\\"label\\\\\\\":\\\\\\\"内部订单号\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"3\\\\\\\"},{\\\\\\\"label\\\\\\\":\\\\\\\"成本中心\\\\u0026WBS\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"4\\\\\\\"},{\\\\\\\"label\\\\\\\":\\\\\\\"成本中心\\\\u0026内部订单号\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"5\\\\\\\"}]\\\",\\\"optionsJsonObject\\\":[{\\\"label\\\":\\\"成本中心\\\",\\\"value\\\":\\\"1\\\"},{\\\"label\\\":\\\"WBS\\\",\\\"value\\\":\\\"2\\\"},{\\\"label\\\":\\\"内部订单号\\\",\\\"value\\\":\\\"3\\\"},{\\\"label\\\":\\\"成本中心\\\\u0026WBS\\\",\\\"value\\\":\\\"4\\\"},{\\\"label\\\":\\\"成本中心\\\\u0026内部订单号\\\",\\\"value\\\":\\\"5\\\"}],\\\"otherprop\\\":\\\"[{\\\\\\\"childred\\\\\\\":{\\\\\\\"bizAlias\\\\\\\":\\\\\\\"costTypeAddInfo\\\\\\\",\\\\\\\"placeholder\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"required\\\\\\\":true,\\\\\\\"type\\\\\\\":\\\\\\\"text\\\\\\\"}}]\\\",\\\"otherpropJsonObject\\\":[{\\\"canEdit\\\":false,\\\"maxchoose\\\":0,\\\"maxlen\\\":0,\\\"required\\\":false,\\\"showList\\\":false,\\\"strongcontrol\\\":false}],\\\"placeholder\\\":\\\"请选择成本分配\\\",\\\"required\\\":\\\"true\\\",\\\"style\\\":\\\"1\\\",\\\"type\\\":\\\"select\\\",\\\"value\\\":\\\"{\\\\\\\"value\\\\\\\":\\\\\\\"1\\\\\\\"}\\\"},{\\\"companyId\\\":0,\\\"componentid\\\":11013,\\\"createtime\\\":1537521553000,\\\"data\\\":\\\"生产成本\\\",\\\"id\\\":143292,\\\"label\\\":\\\"费用类型\\\",\\\"maxlen\\\":50,\\\"otherprop\\\":\\\"[{\\\\\\\"canBeDelete\\\\\\\":true}]\\\",\\\"otherpropJsonObject\\\":[{\\\"canEdit\\\":false,\\\"maxchoose\\\":0,\\\"maxlen\\\":0,\\\"required\\\":false,\\\"showList\\\":false,\\\"strongcontrol\\\":false}],\\\"placeholder\\\":\\\"请选择费用类型\\\",\\\"required\\\":\\\"true\\\",\\\"style\\\":\\\"1\\\",\\\"type\\\":\\\"select\\\",\\\"value\\\":\\\"14\\\"},{\\\"companyId\\\":0,\\\"componentid\\\":11011,\\\"createtime\\\":1544508206000,\\\"data\\\":\\\"140\\\",\\\"id\\\":144699,\\\"label\\\":\\\"出差天数\\\",\\\"maxlen\\\":3,\\\"otherprop\\\":\\\"[{\\\\\\\"isautocal\\\\\\\":true,\\\\\\\"canBeDelete\\\\\\\":true,\\\\\\\"maxNumber\\\\\\\":3,\\\\\\\"canDrag\\\\\\\":false}]\\\",\\\"otherpropJsonObject\\\":[{\\\"canEdit\\\":false,\\\"maxchoose\\\":0,\\\"maxlen\\\":0,\\\"required\\\":false,\\\"showList\\\":false,\\\"strongcontrol\\\":false}],\\\"placeholder\\\":\\\"请输入出差天数\\\",\\\"required\\\":\\\"true\\\",\\\"style\\\":\\\"3\\\",\\\"type\\\":\\\"text_number\\\",\\\"value\\\":\\\"354\\\"},{\\\"companyId\\\":0,\\\"componentid\\\":11003,\\\"createtime\\\":1526371599000,\\\"data\\\":\\\"258\\\",\\\"id\\\":15605,\\\"label\\\":\\\"附件张数\\\",\\\"maxlen\\\":3,\\\"otherprop\\\":\\\"[{\\\\\\\"maxNumber\\\\\\\":3,\\\\\\\"settingNumber\\\\\\\":true}]\\\",\\\"otherpropJsonObject\\\":[{\\\"canEdit\\\":false,\\\"maxchoose\\\":0,\\\"maxlen\\\":0,\\\"required\\\":false,\\\"showList\\\":false,\\\"strongcontrol\\\":false}],\\\"placeholder\\\":\\\"请输入附件张数\\\",\\\"required\\\":\\\"true\\\",\\\"style\\\":\\\"3\\\",\\\"type\\\":\\\"text_num\\\",\\\"value\\\":\\\"363\\\"},{\\\"companyId\\\":0,\\\"componentid\\\":11021,\\\"createtime\\\":1544584818000,\\\"data\\\":\\\"1234测试报销事由aad78531-2608-4b8c-8d82-13c55547bfe6\\\",\\\"id\\\":144735,\\\"label\\\":\\\"报销事由\\\",\\\"maxlen\\\":200,\\\"otherprop\\\":\\\"[{\\\\\\\"canBeDelete\\\\\\\":true,\\\\\\\"canDrag\\\\\\\":false}]\\\",\\\"otherpropJsonObject\\\":[{\\\"canEdit\\\":false,\\\"maxchoose\\\":0,\\\"maxlen\\\":0,\\\"required\\\":false,\\\"showList\\\":false,\\\"strongcontrol\\\":false}],\\\"placeholder\\\":\\\"请填写报销事由\\\",\\\"required\\\":\\\"true\\\",\\\"style\\\":\\\"4\\\",\\\"type\\\":\\\"text\\\",\\\"value\\\":\\\"1234测试报销事由490f6c19-dc5f-48c8-8e41-c901b604df54\\\"},{\\\"companyId\\\":0,\\\"componentid\\\":11014,\\\"createtime\\\":1538247854000,\\\"data\\\":\\\"\\\",\\\"id\\\":143543,\\\"label\\\":\\\"上传图像\\\",\\\"maxlen\\\":80,\\\"otherprop\\\":\\\"[{\\\\\\\"maxlen\\\\\\\":80,\\\\\\\"canDrag\\\\\\\":false,\\\\\\\"canBeDelete\\\\\\\":true}]\\\",\\\"otherpropJsonObject\\\":[{\\\"canEdit\\\":false,\\\"maxchoose\\\":0,\\\"maxlen\\\":80,\\\"required\\\":false,\\\"showList\\\":false,\\\"strongcontrol\\\":false}],\\\"placeholder\\\":\\\"请选择需要上传的图像\\\",\\\"required\\\":\\\"false\\\",\\\"style\\\":\\\"1\\\",\\\"type\\\":\\\"file\\\",\\\"value\\\":\\\"\\\"},{\\\"companyId\\\":0,\\\"componentid\\\":11017,\\\"createtime\\\":1542961359000,\\\"data\\\":\\\"{\\\\\\\"foodFee\\\\\\\":[{\\\\\\\"name\\\\\\\":\\\\\\\"夏飞雪\\\\\\\",\\\\\\\"id\\\\\\\":1445,\\\\\\\"amount\\\\\\\":200}],\\\\\\\"publicFee\\\\\\\":[{\\\\\\\"name\\\\\\\":\\\\\\\"夏飞雪\\\\\\\",\\\\\\\"id\\\\\\\":1445,\\\\\\\"amount\\\\\\\":160}]}\\\",\\\"id\\\":144294,\\\"label\\\":\\\"多人差旅补助\\\",\\\"maxlen\\\":20,\\\"otherprop\\\":\\\"[{\\\\\\\"showEdit\\\\\\\":true,\\\\\\\"newTemId\\\\\\\":0,\\\\\\\"canBeDelete\\\\\\\":true,\\\\\\\"canEdit\\\\\\\":true,\\\\\\\"approvermodify\\\\\\\":false,\\\\\\\"bizAlias\\\\\\\":\\\\\\\"foodFee\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"伙食补助\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"text\\\\\\\",\\\\\\\"required\\\\\\\":true,\\\\\\\"parentId\\\\\\\":11017,\\\\\\\"showList\\\\\\\":\\\\\\\"false\\\\\\\",\\\\\\\"showRule\\\\\\\":false,\\\\\\\"canDrag\\\\\\\":true,\\\\\\\"placeholder\\\\\\\":\\\\\\\"请输入伙食补助\\\\\\\"},{\\\\\\\"showEdit\\\\\\\":true,\\\\\\\"newTemId\\\\\\\":1,\\\\\\\"canBeDelete\\\\\\\":true,\\\\\\\"canEdit\\\\\\\":true,\\\\\\\"bizAlias\\\\\\\":\\\\\\\"publicFee\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"公杂费\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"text_number\\\\\\\",\\\\\\\"required\\\\\\\":true,\\\\\\\"parentId\\\\\\\":11017,\\\\\\\"showList\\\\\\\":\\\\\\\"false\\\\\\\",\\\\\\\"showRule\\\\\\\":false,\\\\\\\"canDrag\\\\\\\":false,\\\\\\\"placeholder\\\\\\\":\\\\\\\"请输入公杂费\\\\\\\"}]\\\",\\\"otherpropJsonObject\\\":[{\\\"bizAlias\\\":\\\"foodFee\\\",\\\"canEdit\\\":true,\\\"label\\\":\\\"伙食补助\\\",\\\"maxchoose\\\":0,\\\"maxlen\\\":0,\\\"placeholder\\\":\\\"请输入伙食补助\\\",\\\"required\\\":true,\\\"showList\\\":false,\\\"strongcontrol\\\":false,\\\"type\\\":\\\"text\\\"},{\\\"bizAlias\\\":\\\"publicFee\\\",\\\"canEdit\\\":true,\\\"label\\\":\\\"公杂费\\\",\\\"maxchoose\\\":0,\\\"maxlen\\\":0,\\\"placeholder\\\":\\\"请输入公杂费\\\",\\\"required\\\":true,\\\"showList\\\":false,\\\"strongcontrol\\\":false,\\\"type\\\":\\\"text_number\\\"}],\\\"placeholder\\\":\\\"\\\",\\\"required\\\":\\\"true\\\",\\\"style\\\":\\\"5\\\",\\\"type\\\":\\\"TableField\\\",\\\"value\\\":\\\"{\\\\\\\"foodFee\\\\\\\":[{\\\\\\\"name\\\\\\\":\\\\\\\"夏飞雪\\\\\\\",\\\\\\\"id\\\\\\\":1445,\\\\\\\"amount\\\\\\\":200}],\\\\\\\"publicFee\\\\\\\":[{\\\\\\\"name\\\\\\\":\\\\\\\"夏飞雪\\\\\\\",\\\\\\\"id\\\\\\\":1445,\\\\\\\"amount\\\\\\\":160}]}\\\"},{\\\"companyId\\\":0,\\\"componentid\\\":11006,\\\"createtime\\\":1526371599000,\\\"data\\\":\\\"\\\",\\\"id\\\":15606,\\\"label\\\":\\\"公司垫付\\\",\\\"maxlen\\\":20,\\\"otherprop\\\":\\\"[{\\\\\\\"type\\\\\\\":\\\\\\\"text_number\\\\\\\",\\\\\\\"bizAlias\\\\\\\":\\\\\\\"platformTotalAmount\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"垫付合计\\\\\\\",\\\\\\\"placeholder\\\\\\\":\\\\\\\"合计0个,金额0.00\\\\\\\",\\\\\\\"required\\\\\\\":true}]\\\",\\\"otherpropJsonObject\\\":[{\\\"bizAlias\\\":\\\"platformTotalAmount\\\",\\\"canEdit\\\":false,\\\"label\\\":\\\"垫付合计\\\",\\\"maxchoose\\\":0,\\\"maxlen\\\":0,\\\"placeholder\\\":\\\"合计0个,金额0.00\\\",\\\"required\\\":true,\\\"showList\\\":false,\\\"strongcontrol\\\":false,\\\"type\\\":\\\"text_number\\\"}],\\\"required\\\":\\\"false\\\",\\\"style\\\":\\\"5\\\",\\\"type\\\":\\\"TableField\\\",\\\"value\\\":\\\"\\\"},{\\\"companyId\\\":0,\\\"componentid\\\":11007,\\\"createtime\\\":1526371599000,\\\"data\\\":\\\"\\\",\\\"id\\\":15607,\\\"label\\\":\\\"员工垫付\\\",\\\"maxlen\\\":20,\\\"otherprop\\\":\\\"[{\\\\\\\"type\\\\\\\":\\\\\\\"text_number\\\\\\\",\\\\\\\"bizAlias\\\\\\\":\\\\\\\"personTotalAmount\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"自付合计\\\\\\\",\\\\\\\"placeholder\\\\\\\":\\\\\\\"合计0个,金额0.00\\\\\\\",\\\\\\\"required\\\\\\\":true}]\\\",\\\"otherpropJsonObject\\\":[{\\\"bizAlias\\\":\\\"personTotalAmount\\\",\\\"canEdit\\\":false,\\\"label\\\":\\\"自付合计\\\",\\\"maxchoose\\\":0,\\\"maxlen\\\":0,\\\"placeholder\\\":\\\"合计0个,金额0.00\\\",\\\"required\\\":true,\\\"showList\\\":false,\\\"strongcontrol\\\":false,\\\"type\\\":\\\"text_number\\\"}],\\\"required\\\":\\\"false\\\",\\\"style\\\":\\\"5\\\",\\\"type\\\":\\\"TableField\\\",\\\"value\\\":\\\"[{\\\\\\\"amount\\\\\\\":66666,\\\\\\\"companyId\\\\\\\":67,\\\\\\\"createTime\\\\\\\":1544595392000,\\\\\\\"createUser\\\\\\\":1445,\\\\\\\"feeDetailName\\\\\\\":\\\\\\\"车船费-火车\\\\\\\",\\\\\\\"feeDetailNo\\\\\\\":\\\\\\\"4\\\\\\\",\\\\\\\"id\\\\\\\":\\\\\\\"70947692911f4c60b6210fcd478235b5\\\\\\\",\\\\\\\"ownerUserId\\\\\\\":1445,\\\\\\\"ownerUserName\\\\\\\":\\\\\\\"夏飞雪\\\\\\\"}]\\\"},{\\\"companyId\\\":0,\\\"componentid\\\":11018,\\\"createtime\\\":1541382634000,\\\"data\\\":\\\"[{\\\\\\\"name\\\\\\\":\\\\\\\"夏飞雪\\\\\\\",\\\\\\\"id\\\\\\\":1445,\\\\\\\"amount\\\\\\\":58}]\\\",\\\"id\\\":144007,\\\"label\\\":\\\"垫付扣除\\\",\\\"maxlen\\\":20,\\\"otherprop\\\":\\\"[{\\\\\\\"canBeDelete\\\\\\\":true,\\\\\\\"canDrag\\\\\\\":false}]\\\",\\\"otherpropJsonObject\\\":[{\\\"canEdit\\\":false,\\\"maxchoose\\\":0,\\\"maxlen\\\":0,\\\"required\\\":false,\\\"showList\\\":false,\\\"strongcontrol\\\":false}],\\\"placeholder\\\":\\\"\\\",\\\"required\\\":\\\"false\\\",\\\"style\\\":\\\"5\\\",\\\"type\\\":\\\"TableField\\\",\\\"value\\\":\\\"[{\\\\\\\"name\\\\\\\":\\\\\\\"夏飞雪\\\\\\\",\\\\\\\"id\\\\\\\":1445,\\\\\\\"amount\\\\\\\":58}]\\\"},{\\\"companyId\\\":0,\\\"componentid\\\":11016,\\\"createtime\\\":1540883126000,\\\"data\\\":\\\"[{\\\\\\\"name\\\\\\\":\\\\\\\"夏飞雪\\\\\\\",\\\\\\\"id\\\\\\\":1445,\\\\\\\"amount\\\\\\\":66968}]\\\",\\\"id\\\":143941,\\\"label\\\":\\\"收款分配\\\",\\\"maxlen\\\":20,\\\"otherprop\\\":\\\"[{\\\\\\\"canBeDelete\\\\\\\":true,\\\\\\\"canDrag\\\\\\\":false}]\\\",\\\"otherpropJsonObject\\\":[{\\\"canEdit\\\":false,\\\"maxchoose\\\":0,\\\"maxlen\\\":0,\\\"required\\\":false,\\\"showList\\\":false,\\\"strongcontrol\\\":false}],\\\"placeholder\\\":\\\"\\\",\\\"required\\\":\\\"true\\\",\\\"style\\\":\\\"5\\\",\\\"type\\\":\\\"TableField\\\",\\\"value\\\":\\\"[{\\\\\\\"name\\\\\\\":\\\\\\\"夏飞雪\\\\\\\",\\\\\\\"id\\\\\\\":1445,\\\\\\\"amount\\\\\\\":66968}]\\\"},{\\\"companyId\\\":0,\\\"componentid\\\":11008,\\\"createtime\\\":1526371599000,\\\"data\\\":\\\"66968.00\\\",\\\"id\\\":15608,\\\"label\\\":\\\"合计金额\\\",\\\"maxlen\\\":20,\\\"required\\\":\\\"true\\\",\\\"style\\\":\\\"6\\\",\\\"type\\\":\\\"TableField\\\",\\\"value\\\":\\\"66968.00\\\"}],\\\"id\\\":30828,\\\"name\\\":\\\"康壮的报销审批模板\\\"}\"}}"}
参数化后的报文:
POST data:
{"id":58719,"msg":"1234测试审批59c6a8f8-9434-4c2e-ad24-eb471c2d084f","bussJson":"{\"companyId\":67,\"createUser\":1445,\"auditState\":2,\"orderNo\":\"BX181213000017\",\"dtContentDetail\":{\"templateId\":30761,\"dtContent\":\"{\\"companyid\\":0,\\"createtime\\":1526371599000,\\"dtComponentList\\":[{\\"companyId\\":0,\\"componentid\\":11015,\\"createtime\\":1540883126000,\\"data\\":\\"[{\\\\"name\\\\":\\\\"夏飞雪\\\\",\\\\"id\\\\":1445}]\\",\\"id\\":143940,\\"label\\":\\"多人报销\\",\\"maxlen\\":20,\\"otherprop\\":\\"[{\\\\"canBeDelete\\\\":true,\\\\"canDrag\\\\":false}]\\",\\"otherpropJsonObject\\":[{\\"canEdit\\":false,\\"maxchoose\\":0,\\"maxlen\\":0,\\"required\\":false,\\"showList\\":false,\\"strongcontrol\\":false}],\\"placeholder\\":\\"请选择报销人\\",\\"required\\":\\"true\\",\\"style\\":\\"1\\",\\"type\\":\\"select\\",\\"value\\":\\"[{\\\\"name\\\\":\\\\"夏飞雪\\\\",\\\\"id\\\\":1445}]\\"},{\\"companyId\\":0,\\"componentid\\":11001,\\"createtime\\":1526371599000,\\"data\\":\\"国网电子商务有限公司\\",\\"id\\":15603,\\"label\\":\\"单位名称\\",\\"maxlen\\":20,\\"placeholder\\":\\"请选择利润中心\\",\\"required\\":\\"true\\",\\"style\\":\\"1\\",\\"type\\":\\"select\\",\\"value\\":\\"LDS0000001\\"},{\\"companyId\\":0,\\"componentid\\":11010,\\"createtime\\":1526371599000,\\"data\\":\\"综合管理部\\",\\"id\\":15610,\\"label\\":\\"部门\\",\\"maxlen\\":50,\\"placeholder\\":\\"请选择部门\\",\\"required\\":\\"true\\",\\"style\\":\\"1\\",\\"type\\":\\"text\\",\\"value\\":\\"CDS0000001\\"},{\\"companyId\\":0,\\"componentid\\":11002,\\"createtime\\":1526371599000,\\"data\\":\\"{\\\\"value\\\\":\\\\"成本中心\\\\"}\\",\\"id\\":15604,\\"label\\":\\"成本分配\\",\\"maxlen\\":20,\\"options\\":\\"[{\\\\"label\\\\":\\\\"成本中心\\\\",\\\\"value\\\\":\\\\"1\\\\"},{\\\\"label\\\\":\\\\"WBS\\\\",\\\\"value\\\\":\\\\"2\\\\"},{\\\\"label\\\\":\\\\"内部订单号\\\\",\\\\"value\\\\":\\\\"3\\\\"},{\\\\"label\\\\":\\\\"成本中心\\u0026WBS\\\\",\\\\"value\\\\":\\\\"4\\\\"},{\\\\"label\\\\":\\\\"成本中心\\u0026内部订单号\\\\",\\\\"value\\\\":\\\\"5\\\\"}]\\",\\"optionsJsonObject\\":[{\\"label\\":\\"成本中心\\",\\"value\\":\\"1\\"},{\\"label\\":\\"WBS\\",\\"value\\":\\"2\\"},{\\"label\\":\\"内部订单号\\",\\"value\\":\\"3\\"},{\\"label\\":\\"成本中心\\u0026WBS\\",\\"value\\":\\"4\\"},{\\"label\\":\\"成本中心\\u0026内部订单号\\",\\"value\\":\\"5\\"}],\\"otherprop\\":\\"[{\\\\"childred\\\\":{\\\\"bizAlias\\\\":\\\\"costTypeAddInfo\\\\",\\\\"placeholder\\\\":\\\\"\\\\",\\\\"required\\\\":true,\\\\"type\\\\":\\\\"text\\\\"}}]\\",\\"otherpropJsonObject\\":[{\\"canEdit\\":false,\\"maxchoose\\":0,\\"maxlen\\":0,\\"required\\":false,\\"showList\\":false,\\"strongcontrol\\":false}],\\"placeholder\\":\\"请选择成本分配\\",\\"required\\":\\"true\\",\\"style\\":\\"1\\",\\"type\\":\\"select\\",\\"value\\":\\"{\\\\"value\\\\":\\\\"1\\\\"}\\"},{\\"companyId\\":0,\\"componentid\\":11013,\\"createtime\\":1537521553000,\\"data\\":\\"生产成本\\",\\"id\\":143292,\\"label\\":\\"费用类型\\",\\"maxlen\\":50,\\"otherprop\\":\\"[{\\\\"canBeDelete\\\\":true}]\\",\\"otherpropJsonObject\\":[{\\"canEdit\\":false,\\"maxchoose\\":0,\\"maxlen\\":0,\\"required\\":false,\\"showList\\":false,\\"strongcontrol\\":false}],\\"placeholder\\":\\"请选择费用类型\\",\\"required\\":\\"true\\",\\"style\\":\\"1\\",\\"type\\":\\"select\\",\\"value\\":\\"14\\"},{\\"companyId\\":0,\\"componentid\\":11011,\\"createtime\\":1544508206000,\\"data\\":\\"71162\\",\\"id\\":144699,\\"label\\":\\"出差天数\\",\\"maxlen\\":3,\\"otherprop\\":\\"[{\\\\"isautocal\\\\":true,\\\\"canBeDelete\\\\":true,\\\\"maxNumber\\\\":3,\\\\"canDrag\\\\":false}]\\",\\"otherpropJsonObject\\":[{\\"canEdit\\":false,\\"maxchoose\\":0,\\"maxlen\\":0,\\"required\\":false,\\"showList\\":false,\\"strongcontrol\\":false}],\\"placeholder\\":\\"请输入出差天数\\",\\"required\\":\\"true\\",\\"style\\":\\"3\\",\\"type\\":\\"text_number\\",\\"value\\":\\"71162\\"},{\\"companyId\\":0,\\"componentid\\":11003,\\"createtime\\":1526371599000,\\"data\\":\\"71162\\",\\"id\\":15605,\\"label\\":\\"附件张数\\",\\"maxlen\\":3,\\"otherprop\\":\\"[{\\\\"maxNumber\\\\":3,\\\\"settingNumber\\\\":true}]\\",\\"otherpropJsonObject\\":[{\\"canEdit\\":false,\\"maxchoose\\":0,\\"maxlen\\":0,\\"required\\":false,\\"showList\\":false,\\"strongcontrol\\":false}],\\"placeholder\\":\\"请输入附件张数\\",\\"required\\":\\"true\\",\\"style\\":\\"3\\",\\"type\\":\\"text_num\\",\\"value\\":\\"71162\\"},{\\"companyId\\":0,\\"componentid\\":11021,\\"createtime\\":1544584818000,\\"data\\":\\"1234测试报销事由1\\",\\"id\\":144735,\\"label\\":\\"报销事由\\",\\"maxlen\\":200,\\"otherprop\\":\\"[{\\\\"canBeDelete\\\\":true,\\\\"canDrag\\\\":false}]\\",\\"otherpropJsonObject\\":[{\\"canEdit\\":false,\\"maxchoose\\":0,\\"maxlen\\":0,\\"required\\":false,\\"showList\\":false,\\"strongcontrol\\":false}],\\"placeholder\\":\\"请填写报销事由\\",\\"required\\":\\"true\\",\\"style\\":\\"4\\",\\"type\\":\\"text\\",\\"value\\":\\"1234测试报销事由1\\"},{\\"companyId\\":0,\\"componentid\\":11014,\\"createtime\\":1538247854000,\\"data\\":\\"\\",\\"id\\":143543,\\"label\\":\\"上传图像\\",\\"maxlen\\":80,\\"otherprop\\":\\"[{\\\\"maxlen\\\\":80,\\\\"canDrag\\\\":false,\\\\"canBeDelete\\\\":true}]\\",\\"otherpropJsonObject\\":[{\\"canEdit\\":false,\\"maxchoose\\":0,\\"maxlen\\":80,\\"required\\":false,\\"showList\\":false,\\"strongcontrol\\":false}],\\"placeholder\\":\\"请选择需要上传的图像\\",\\"required\\":\\"false\\",\\"style\\":\\"1\\",\\"type\\":\\"file\\",\\"value\\":\\"\\"},{\\"companyId\\":0,\\"componentid\\":11017,\\"createtime\\":1542961359000,\\"data\\":\\"{\\\\"foodFee\\\\":[{\\\\"name\\\\":\\\\"夏飞雪\\\\",\\\\"id\\\\":1445,\\\\"amount\\\\":1}],\\\\"publicFee\\\\":[{\\\\"name\\\\":\\\\"夏飞雪\\\\",\\\\"id\\\\":1445,\\\\"amount\\\\":1}]}\\",\\"id\\":144294,\\"label\\":\\"多人差旅补助\\",\\"maxlen\\":20,\\"otherprop\\":\\"[{\\\\"showEdit\\\\":true,\\\\"newTemId\\\\":0,\\\\"canBeDelete\\\\":true,\\\\"canEdit\\\\":true,\\\\"approvermodify\\\\":false,\\\\"bizAlias\\\\":\\\\"foodFee\\\\",\\\\"label\\\\":\\\\"伙食补助\\\\",\\\\"type\\\\":\\\\"text\\\\",\\\\"required\\\\":true,\\\\"parentId\\\\":11017,\\\\"showList\\\\":\\\\"false\\\\",\\\\"showRule\\\\":false,\\\\"canDrag\\\\":true,\\\\"placeholder\\\\":\\\\"请输入伙食补助\\\\"},{\\\\"showEdit\\\\":true,\\\\"newTemId\\\\":1,\\\\"canBeDelete\\\\":true,\\\\"canEdit\\\\":true,\\\\"bizAlias\\\\":\\\\"publicFee\\\\",\\\\"label\\\\":\\\\"公杂费\\\\",\\\\"type\\\\":\\\\"text_number\\\\",\\\\"required\\\\":true,\\\\"parentId\\\\":11017,\\\\"showList\\\\":\\\\"false\\\\",\\\\"showRule\\\\":false,\\\\"canDrag\\\\":false,\\\\"placeholder\\\\":\\\\"请输入公杂费\\\\"}]\\",\\"otherpropJsonObject\\":[{\\"bizAlias\\":\\"foodFee\\",\\"canEdit\\":true,\\"label\\":\\"伙食补助\\",\\"maxchoose\\":0,\\"maxlen\\":0,\\"placeholder\\":\\"请输入伙食补助\\",\\"required\\":true,\\"showList\\":false,\\"strongcontrol\\":false,\\"type\\":\\"text\\"},{\\"bizAlias\\":\\"publicFee\\",\\"canEdit\\":true,\\"label\\":\\"公杂费\\",\\"maxchoose\\":0,\\"maxlen\\":0,\\"placeholder\\":\\"请输入公杂费\\",\\"required\\":true,\\"showList\\":false,\\"strongcontrol\\":false,\\"type\\":\\"text_number\\"}],\\"placeholder\\":\\"\\",\\"required\\":\\"true\\",\\"style\\":\\"5\\",\\"type\\":\\"TableField\\",\\"value\\":\\"{\\\\"foodFee\\\\":[{\\\\"name\\\\":\\\\"夏飞雪\\\\",\\\\"id\\\\":1445,\\\\"amount\\\\":1}],\\\\"publicFee\\\\":[{\\\\"name\\\\":\\\\"夏飞雪\\\\",\\\\"id\\\\":1445,\\\\"amount\\\\":1}]}\\"},{\\"companyId\\":0,\\"componentid\\":11006,\\"createtime\\":1526371599000,\\"data\\":\\"\\",\\"id\\":15606,\\"label\\":\\"公司垫付\\",\\"maxlen\\":20,\\"otherprop\\":\\"[{\\\\"type\\\\":\\\\"text_number\\\\",\\\\"bizAlias\\\\":\\\\"platformTotalAmount\\\\",\\\\"label\\\\":\\\\"垫付合计\\\\",\\\\"placeholder\\\\":\\\\"合计0个,金额0.00\\\\",\\\\"required\\\\":true}]\\",\\"otherpropJsonObject\\":[{\\"bizAlias\\":\\"platformTotalAmount\\",\\"canEdit\\":false,\\"label\\":\\"垫付合计\\",\\"maxchoose\\":0,\\"maxlen\\":0,\\"placeholder\\":\\"合计0个,金额0.00\\",\\"required\\":true,\\"showList\\":false,\\"strongcontrol\\":false,\\"type\\":\\"text_number\\"}],\\"required\\":\\"false\\",\\"style\\":\\"5\\",\\"type\\":\\"TableField\\",\\"value\\":\\"\\"},{\\"companyId\\":0,\\"componentid\\":11007,\\"createtime\\":1526371599000,\\"data\\":\\"\\",\\"id\\":15607,\\"label\\":\\"员工垫付\\",\\"maxlen\\":20,\\"otherprop\\":\\"[{\\\\"type\\\\":\\\\"text_number\\\\",\\\\"bizAlias\\\\":\\\\"personTotalAmount\\\\",\\\\"label\\\\":\\\\"自付合计\\\\",\\\\"placeholder\\\\":\\\\"合计0个,金额0.00\\\\",\\\\"required\\\\":true}]\\",\\"otherpropJsonObject\\":[{\\"bizAlias\\":\\"personTotalAmount\\",\\"canEdit\\":false,\\"label\\":\\"自付合计\\",\\"maxchoose\\":0,\\"maxlen\\":0,\\"placeholder\\":\\"合计0个,金额0.00\\",\\"required\\":true,\\"showList\\":false,\\"strongcontrol\\":false,\\"type\\":\\"text_number\\"}],\\"required\\":\\"false\\",\\"style\\":\\"5\\",\\"type\\":\\"TableField\\",\\"value\\":\\"[{\\\\"amount\\\\":1,\\\\"companyId\\\\":67,\\\\"createTime\\\\":1544595392000,\\\\"createUser\\\\":1445,\\\\"feeDetailName\\\\":\\\\"车船费-火车\\\\",\\\\"feeDetailNo\\\\":\\\\"4\\\\",\\\\"id\\\\":\\\\"70947692911f4c60b6210fcd478235b5\\\\",\\\\"ownerUserId\\\\":1445,\\\\"ownerUserName\\\\":\\\\"夏飞雪\\\\"}]\\"},{\\"companyId\\":0,\\"componentid\\":11018,\\"createtime\\":1541382634000,\\"data\\":\\"[{\\\\"name\\\\":\\\\"夏飞雪\\\\",\\\\"id\\\\":1445,\\\\"amount\\\\":1}]\\",\\"id\\":144007,\\"label\\":\\"垫付扣除\\",\\"maxlen\\":20,\\"otherprop\\":\\"[{\\\\"canBeDelete\\\\":true,\\\\"canDrag\\\\":false}]\\",\\"otherpropJsonObject\\":[{\\"canEdit\\":false,\\"maxchoose\\":0,\\"maxlen\\":0,\\"required\\":false,\\"showList\\":false,\\"strongcontrol\\":false}],\\"placeholder\\":\\"\\",\\"required\\":\\"false\\",\\"style\\":\\"5\\",\\"type\\":\\"TableField\\",\\"value\\":\\"[{\\\\"name\\\\":\\\\"夏飞雪\\\\",\\\\"id\\\\":1445,\\\\"amount\\\\":1}]\\"},{\\"companyId\\":0,\\"componentid\\":11016,\\"createtime\\":1540883126000,\\"data\\":\\"[{\\\\"name\\\\":\\\\"夏飞雪\\\\",\\\\"id\\\\":1445,\\\\"amount\\\\":2}]\\",\\"id\\":143941,\\"label\\":\\"收款分配\\",\\"maxlen\\":20,\\"otherprop\\":\\"[{\\\\"canBeDelete\\\\":true,\\\\"canDrag\\\\":false}]\\",\\"otherpropJsonObject\\":[{\\"canEdit\\":false,\\"maxchoose\\":0,\\"maxlen\\":0,\\"required\\":false,\\"showList\\":false,\\"strongcontrol\\":false}],\\"placeholder\\":\\"\\",\\"required\\":\\"true\\",\\"style\\":\\"5\\",\\"type\\":\\"TableField\\",\\"value\\":\\"[{\\\\"name\\\\":\\\\"夏飞雪\\\\",\\\\"id\\\\":1445,\\\\"amount\\\\":2}]\\"},{\\"companyId\\":0,\\"componentid\\":11008,\\"createtime\\":1526371599000,\\"data\\":\\"2\\",\\"id\\":15608,\\"label\\":\\"合计金额\\",\\"maxlen\\":20,\\"required\\":\\"true\\",\\"style\\":\\"6\\",\\"type\\":\\"TableField\\",\\"value\\":\\"2\\"}],\\"id\\":30761,\\"name\\":\\"康壮的报销审批模板\\"}\"}}"}
dtContent后面的{中的内容
变化:
1、\\\"companyid\\\" 变为 \\"companyid\\" : \\\"变为 \\"
解决:将jmeter请求 Body Data \\\"替换为\\\\\" 利用正则表达式 前向否定 (?<!\\)\\{3}" 找到只是\\\"的所有字符串 替换为\\\\\\\\\\\"
2、\\\\\\\"name\\\\\\\" 变为 \\\\"name\\\\" : \\\\\\\"变为\\\\"
解决:将jmeter请求 Body Data \\\\\\\"替换为\\\\\\\\\\\\\"
jmeter 不同线程组之间传递变量1的更多相关文章
- jmeter 不同线程组之间传递变量3
jemter编写脚本要点: 1.切记:BeanShell PostProcessor写在关联函数 Regular Expression Extractor的后面 2.header HTTP Head ...
- jmeter 不同线程组之间传递变量2
方法1 通过变量传递参数: 第一个脚本: HTTP Request_新建出差申请单_登录,关联出参数token.companyId.userId.userName 1.添加后置处理器:BeanShe ...
- Jmeter(二十二)Jmeter-Question之“不同线程组之间传递变量”
Jmeter中增添原件是以线程组为‘基本单位’的,贴张图,显而易见: 测试计划节点下的内容 线程组节点下的内容 因此,变量只能在当前的线程组下进行传递.做个小Demo,立即试试: 测试结论:不同线程组 ...
- Jmeter不同线程组之间的变量引用
用过LoadRunner的小伙伴应该知道,它的脚本主要分为三个部分,即Login,Action,End三个模块.Login中一般是“初始化”环境所用,而Action模块主要做一些诸如压测的动作.举个例 ...
- jmeter线程组之间传递参数
JMeter 变量作用域局限于所属线程.这样设计是经过深思熟虑的,目的是让测试线程能够独立运转.有时候用户可能需要在不同线程间(可能属于同一个线程组,也可能不属于同一个线程组)传递变量. 其中一种方法 ...
- jmeter解决不同线程组之间传递参数问题
首先在第一个线程组里讲你需要保存的值放入到jmeter的某个属性中,属性名名字自己定义,如上图的token , props.put("token", token),第二个参数必须是 ...
- jmeter 线程组之间传递动态变化的变量值
http://www.51testing.com/html/01/n-3725501.html https://www.jianshu.com/p/73832bae65af https://blog. ...
- 线程组之间的JMeter传递变量
在这个JMeter教程中,我们将了解如何在线程组之间共享和传递变量. 在开发高级JMeter脚本时,很可能您将拥有多个线程组.每个线程组将执行不同的请求. 一个很好的例子就是我们需要使用Bearer ...
- Jmeter 跨线程组传递参数 之两种方法
终于搞定了Jmeter跨线程组之间传递参数,这样就不用每次发送请求B之前,都需要同时发送一下登录接口(因为同一个线程组下的请求是同时发送的),只需要发送一次登录请求,请求B直接用登录请求的参数即可,直 ...
随机推荐
- 关于ExtJS对javascript中的Object的扩展
关于ExtJS对javascript中的Object的扩展,可以参考其帮助文档,文档下载地址:http://download.csdn.net/detail/z1137730824/7748893 下 ...
- ID和Phone高压缩比存储和查询
ID和Phone高压缩比存储和查询的简单例子, 无多线程处理 运行环境JDK8+maven 0. 模块分割 1. 基本思路 源文件BCP每一行都转为一个全局的RowID,可以直接映射到FileName ...
- sql优化 分字段统计查询
select count(1) from pd_xxx_origin_xxx_data where create_time like '2019-02-23%' and source='20036' ...
- time模块 datetime 模块 random 模块 OS 模块 sys 模块 hashlib 模块
time模块 在python中的时间表现形式: 时间戳 (自1970-01-01-00-00 到当前时间,按秒计算,一共过了多少秒 格式化时间 返回的是时间的字符串 格式化时间对象 返回的是一个元组 ...
- mac 支持rz sz
安装 lrzsz brew install lrzsz 配置 iTerm2 安装完成后我们需要在 iTerm2 中使用的话,还需要一些配置 进入到 /usr/local/bin 目录下,下载两个脚本文 ...
- jsonp详细原理之一
/*script标签是不存在跨域请求的,类似的还有img,background:url,link 你可以想象一下,平时的这些标签都是可以直接引入外部资源的,所以是不存在跨域问题的*/ function ...
- IntelliJ Idea 环境搭建
安装IntelliJ Idea 可以去官网下载: https://www.jetbrains.com/idea/download/#section=windows 选择Ultimate.一路下一步安装 ...
- mysql各种join连接查询
最近项目用到了几次sql join查询 来满足银行变态的需求:正好晚上自学时,看到了相关视频,所以记录下相关知识,下次再用时,根据如下图片,便可知道 怎么写sql; 注意点: 在join操作中的 on ...
- shell整数测试
- 低版本vsphere部署高版本导出的OVF 报“硬件系列vmx-13不受支持“解决办法
用文本编辑器之类的工具 打开ovf模板 然后下拉20多行左右 找到vmx-13这条报错内容 将13更改为数字较低的值 例如11,12