Commit 8c2a5dff authored by youjie's avatar youjie

no message

parent 56094a3f
import request from '../utils/request.js'
/**
* 获取“我的孩子”列表
* @param {JSON参数} data
*/
export function MyChildList(data) {
return request({
url: '/AppletCenter/MyChildList',
method: 'post',
data
})
}
/**
* 账号密码登录
* @param {JSON参数} data
......
......@@ -200,8 +200,8 @@
import Loadmore from "../../components/loadmore.vue";
import bottom from "../../components/bottom";
import {
GetOrderPage
} from "../../api/erp";
MyChildList
} from "../../api/index";
export default {
components: {
bottom,
......@@ -215,7 +215,6 @@
msg: {
pageIndex: 1,
pageSize: 10,
OrderType: 1
},
pageCount: 0,
dataList: [],
......@@ -270,8 +269,7 @@
});
},
async getData() {
return
let res = await GetOrderPage(data.msg);
let res = await MyChildList(data.msg);
if (res) {
if (data.timer) data.timer = null;
if (data.msg.pageIndex === 1) {
......@@ -289,6 +287,9 @@
},
};
let that = methods;
onMounted(() => {
that.getData()
});
return {
...toRefs(data),
...methods
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment