diff --git a/src/api/port/port/index.js b/src/api/port/port/index.js
index 60cdc7f..165c6b5 100644
--- a/src/api/port/port/index.js
+++ b/src/api/port/port/index.js
@@ -28,3 +28,13 @@ export function getDeleteConnector(connectorId) {
method: 'get'
})
}
+
+
+export function updateConnector(data) {
+ return request({
+ url: '/mart/connector/updateConnector',
+ method: 'post',
+ data:data
+ })
+}
+
diff --git a/src/views/port/port/index.vue b/src/views/port/port/index.vue
index ab09c55..875bf01 100644
--- a/src/views/port/port/index.vue
+++ b/src/views/port/port/index.vue
@@ -84,7 +84,7 @@
编辑
+ @click="handleEdit(scope.row)">编辑
确 定
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 审核中
+ 审核成功
+ 审核失败
+
+
+
+
+
@@ -133,6 +174,7 @@
import {findConnectorList} from "@/api/port/port";
import {addConnector} from "@/api/port/port";
import {getDeleteConnector} from "@/api/port/port";
+import {updateConnector} from "@/api/port/port";
export default {
//import引入的组件需要注入到对象中才能使用"
components: {},
@@ -140,10 +182,12 @@ export default {
data() {
//这里存放数据"
return {
+ formInline:{},
form:{},
tableData:[],
formLabelAlign:{},
dialogFormVisible:false,
+ dialogFormVisible1:false,
};
},
//计算属性 类似于data概念",
@@ -152,6 +196,10 @@ export default {
watch: {},
//方法集合",
methods: {
+ handleEdit(row){
+ this.formInline=row;
+ this.dialogFormVisible1=true;
+ },
handleDelete(row){
getDeleteConnector(row.connectorId).then((res)=>{
alert(res.msg);