diff --git a/src/api/port/port/index.js b/src/api/port/port/index.js index bc4931b..d16530e 100644 --- a/src/api/port/port/index.js +++ b/src/api/port/port/index.js @@ -94,3 +94,10 @@ export function findConnectorUserList(data) { data:data }) } +//API页面类型分类 +export function findConnectSort() { + return request({ + url: '/mart/connector/findConnectSort', + method: 'get' + }) +} diff --git a/src/views/money/buy/index.vue b/src/views/money/buy/index.vue index b246023..ef02926 100644 --- a/src/views/money/buy/index.vue +++ b/src/views/money/buy/index.vue @@ -73,17 +73,31 @@ :total="total" @pagination="getList" /> + + +
+ +
+
+
+
+ + diff --git a/src/views/port/port/employee.vue b/src/views/port/port/employee.vue index 2dba47e..1572507 100644 --- a/src/views/port/port/employee.vue +++ b/src/views/port/port/employee.vue @@ -1,104 +1,114 @@ @@ -217,6 +231,7 @@ import {getPostcode} from "@/api/port/port"; import {getWeather} from "@/api/port/port"; import {doBuyInterface} from "@/api/port/port"; import {userBalance} from "@/api/system/user"; +import {findConnectSort} from "@/api/port/port"; export default { //import引入的组件需要注入到对象中才能使用" components: {}, @@ -234,6 +249,7 @@ export default { children:"citys", label:'provinceName', }, + connectSort:[], connectorList:[], gridData:[], gridData2:[], @@ -463,12 +479,19 @@ export default { this.connectorList=res.data; console.log(res.data); }) + }, + findConnectSort(){ + findConnectSort().then((res)=>{ + this.connectSort=res.data; + console.log(this.connectSort); + }) } }, //生命周期 - 创建完成(可以访问当前this实例)", created() { this.fetchUserBalance(); this.findApiList(); + this.findConnectSort() }, //生命周期 - 挂载完成(可以访问DOM元素)", mounted() {