diff --git a/src/pages/workbench/fwgl/serviceDetail.vue b/src/pages/workbench/fwgl/serviceDetail.vue index 3700b7c4b92ac19589a9be270184913835f23670..d04e1b0b1b8655cac4e760a5e9649e4c42724e34 100644 --- a/src/pages/workbench/fwgl/serviceDetail.vue +++ b/src/pages/workbench/fwgl/serviceDetail.vue @@ -230,19 +230,19 @@ export default { prop: "name", label: "字段编码", align: "left", - width: 240 + width: 200, }, { prop: "label", label: "字段名称", align: "center", - width: 200 + width: 200, }, { prop: "show_type", label: "字段类型", align: "center", - width: 240 + width: 240, }, { prop: "descript", @@ -253,7 +253,7 @@ export default { prop: "is_must", label: "是否必须", align: "center", - width: 240 + width: 240, }, ], // 请求参数-header req_data: [], // 请求参数 @@ -263,21 +263,21 @@ export default { prop: "name", label: "字段编码", align: "left", - width: 240 + width: 200, }, { prop: "label", label: "字段名称", minWidth: "20%", align: "center", - width: 200 + width: 200, }, { prop: "show_type", label: "字段类型", width: "100px", align: "center", - width: 240 + width: 240, }, { prop: "descript", @@ -290,7 +290,7 @@ export default { label: "字段示例数值", width: "120px", align: "center", - width: 240 + width: 240, }, ], // 响应参数-header res_data: [], // 响应参数 @@ -683,16 +683,18 @@ export default { "info", this.request_arr[data.req_type - 1] ); // 请求方式 - this.req_data = JSON.parse(data.req_fields || data.req_query || "[]"); // 请求参数 + this.req_data = JSON.parse( + data.req_fields || data.req_query || "[]" + ); // 请求参数 if (this.req_data.length === 0) { this.$set(this.servicead_arr[1], "type", ""); this.$set(this.servicead_arr[1], "info", "无请求参数"); } - this.req_code_arr = data.req_fields_example || data.req_query_example || ""; // 请求示例 + this.req_code_arr = + data.req_fields_example || data.req_query_example || ""; // 请求示例 if (!this.req_code_arr) { this.$set(this.servicead_arr[2], "type", ""); this.$set(this.servicead_arr[2], "info", "无请求示例"); - } this.$set(this.servicead_arr[3], "info", data.encode_method); // 编码格式 this.res_data = JSON.parse(data.res_fields || "[]"); // 响应参数