| | |
| | | return datajson; |
| | | }, |
| | | ws_both_from_object() { |
| | | console.log(this.$route.query.Type) |
| | | let OpenTmp = decodeURIComponent(this.$route.query.OpenTmp); |
| | | let sql = ""; |
| | | if (this.$route.query.Type == "Kf_SellOutBillList") { |
| | |
| | | ) AS t |
| | | GROUP BY CEILING(CAST(t.row_num AS FLOAT) / 2) |
| | | ORDER BY orderid;`; |
| | | } else if (this.$route.query.Type == "Cg_ContractTransportBillMainList") { |
| | | sql = "exec h_p_Cg_ContractTransportBillMainList " + |
| | | this.handleMessage.linterid.toString(); |
| | | } else if (this.$route.query.Type == "WL_YayBill") { |
| | | |
| | | sql = "select * from h_v_WL_YayBilllist where hmainid in(" + |
| | | this.handleMessage.linterid.toString() + |
| | | ") order by hmainid desc"; |
| | | } |
| | | axios |
| | | .get(this.$baseUrl + "/CommonModel/searchMethod", { |
| | | this.$nextTick(() => { |
| | | axios.get(this.$baseUrl + "/CommonModel/searchMethod", { |
| | | params: { |
| | | sql: sql, |
| | | user: sessionStorage["HUserName"], |
| | |
| | | }, |
| | | }) |
| | | .then((response) => { |
| | | console.log(111, OpenTmp, response) |
| | | let result = response.data; |
| | | this.json_data.recordset = result.data; |
| | | //参数具体说明请参考帮助文档中的“WEB报表(B/S报表)->WEB报表客户端->启动参数说明”部分 |
| | |
| | | console.log(22222, error); |
| | | this.$modal.msgError("接口请求失败!"); |
| | | }); |
| | | }) |
| | | |
| | | }, |
| | | }, |
| | | }; |