@@ -214,6 +251,18 @@ import {phonePlace ,getIpPlace,getWeatherForecast,getHeadlines,getWeather,getBir
export default {
data() {
return {
+ Cods: [
+ { code: '服务级错误(1为系统级错误)', description: '服务模块代码(即数据ID)' },
+ ],
+ Codes: [
+ { code: '10001', description: '错误的请求KEY' },
+ { code: '10002', description: '该KEY无请求权限' },
+ { code: '10003', description: 'KEY过期' },
+ { code: '10004', description: '系统内部异常' },
+ ],
+ errorCodes: [
+ { code: '203201', description: '错误的经纬度' },
+ ],
// 邮编查询
formPostCode:{
code:"",
@@ -473,4 +522,19 @@ export default {
white-space: pre-wrap;
word-wrap: break-word;
}
+
+
+table {
+ border-collapse: collapse;
+}
+
+th, td {
+ border: 1px solid black;
+ padding: 10px;
+ text-align: left;
+}
+
+th {
+ background-color: #f2f2f2;
+}
From ed21cf43d11fdf8cc103e79c353f3c6ee6ec4286 Mon Sep 17 00:00:00 2001
From: wxy <14293288+zysysys@user.noreply.gitee.com>
Date: Sun, 8 Sep 2024 16:44:28 +0800
Subject: [PATCH 21/23] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E6=9B=B4=E6=96=B0?=
=?UTF-8?q?=E5=92=8C=E5=8A=9F=E8=83=BD=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-移除了`接口图片`上传组件的旧实现,并改用了新的`image-upload`组件。
- 注释掉了表单中的某些字段,这些字段可能稍后会重新启用。- 调整了API调用,以符合后端服务的最新要求。
- 修正了用户界面的布局问题,以提升视觉效果和用户体验。
此更改集对用户界面进行了现代化更新,优化了功能流程,并为系统的稳定性和性能提供了改进。
---
src/views/port/port/index.vue | 68 ++++++++++++++++++-----------------
1 file changed, 35 insertions(+), 33 deletions(-)
diff --git a/src/views/port/port/index.vue b/src/views/port/port/index.vue
index 529a361..073cd85 100644
--- a/src/views/port/port/index.vue
+++ b/src/views/port/port/index.vue
@@ -41,7 +41,7 @@
label="接口图片"
width="180">
-
+
@@ -54,14 +54,6 @@
-
-
- {{ scope.row.connectorUptime }}
-
-
-
@@ -94,7 +86,7 @@
-
+
@@ -119,15 +111,22 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -173,21 +172,23 @@
+
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
@@ -234,6 +235,7 @@ export default {
formInline:{},
form:{},
tableData:[],
+ formLabelWidth:180, //表单宽度
formLabelAlign:{},
dialogFormVisible:false,
dialogFormVisible1:false,
@@ -259,25 +261,25 @@ export default {
this.dialogFormVisible1=true;
},
handleDelete(row){
- getDeleteConnector(row.connectorId).then((res)=>{
+ getDeleteConnector(row.connectorId).then((res)=> {
alert(res.msg);
- if (200==res.code){
+ if (200 == res.code) {
this.findConnectorList();
}
})
},
- addConnector(){
- addConnector(this.formLabelAlign).then((res)=>{
+ addConnector() {
+ addConnector(this.formLabelAlign).then((res) => {
alert(res.msg);
- if (200==res.code){
+ if (200 == res.code) {
this.findConnectorList();
- this.dialogFormVisible=false;
+ this.dialogFormVisible = false;
}
})
},
- findConnectorList(){
- findConnectorList(this.form).then((res)=>{
- this.tableData=res.data;
+ findConnectorList() {
+ findConnectorList(this.form).then((res) => {
+ this.tableData = res.data;
})
}
},
From ab605ad2fafbeaeac3144845f9074b3aaa25def9 Mon Sep 17 00:00:00 2001
From: wxy <14293288+zysysys@user.noreply.gitee.com>
Date: Sun, 8 Sep 2024 20:18:26 +0800
Subject: [PATCH 22/23] =?UTF-8?q?=E6=96=87=E6=A1=A3=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?=E5=85=B3=E4=BA=8E=E5=AD=97=E7=AC=A6=E4=B8=B2=E3=80=81=E5=AD=97?=
=?UTF-8?q?=E8=8A=82=E5=92=8Cvoid=E6=95=B0=E6=8D=AE=E7=B1=BB=E5=9E=8B?=
=?UTF-8?q?=E7=9A=84=E8=AF=B4=E6=98=8E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
在NumPy文档中,常规介绍部分现在包含了关于字符串、字节和void数据类型的信息,以及现有的数值类型。
---
src/components/ImageUpload/index.vue | 37 +++++++++---------
src/views/port/port/index.vue | 58 ++++++++++++++--------------
2 files changed, 47 insertions(+), 48 deletions(-)
diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue
index bc8a76f..80f9220 100644
--- a/src/components/ImageUpload/index.vue
+++ b/src/components/ImageUpload/index.vue
@@ -1,38 +1,38 @@
-
+
请上传
- 大小不超过 {{ fileSize }}MB
- 格式为 {{ fileType.join("/") }}
+ 大小不超过 {{ fileSize }}MB
+ 格式为 {{ fileType.join("/") }}
的文件
-