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 @@ - - - - @@ -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; }) } },