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 \\\\\\\"替换为\\\\\\\\\\\\\"