From 11e0d32c4663d6fbfd9b7490d505d7227419f330 Mon Sep 17 00:00:00 2001 From: xuyiming Date: Tue, 11 Aug 2020 16:38:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=86=8C=E7=9A=84=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/workbench/fwgl/serviceDetail.vue | 24 ++++++++++++---------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/pages/workbench/fwgl/serviceDetail.vue b/src/pages/workbench/fwgl/serviceDetail.vue index 3700b7c..d04e1b0 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 || "[]"); // 响应参数 -- 2.26.0