Commit 170d4863 authored by 黄奎's avatar 黄奎

页面修改

parent fcd57ce0
...@@ -10,8 +10,12 @@ ...@@ -10,8 +10,12 @@
props: [], props: [],
data() { data() {
return { return {
qMsg: {
PageIndex: 1,
PageSize: 10,
CreateBy: 0, CreateBy: 0,
DataList:[], },
DataList: [],
}; };
}, },
created() { created() {
...@@ -21,8 +25,7 @@ ...@@ -21,8 +25,7 @@
if (localStorage.b2bUser) { if (localStorage.b2bUser) {
var b2bUser = JSON.parse(window.localStorage.getItem('b2bUser')) var b2bUser = JSON.parse(window.localStorage.getItem('b2bUser'))
if (b2bUser) { if (b2bUser) {
this.CreateBy = b2bUser.accountId; this.qMsg.CreateBy = b2bUser.accountId;
this.getdemandList(); this.getdemandList();
} }
} }
...@@ -30,9 +33,7 @@ ...@@ -30,9 +33,7 @@
methods: { methods: {
getdemandList() { getdemandList() {
this.apipost( this.apipost(
"ws_get_GetServicePageList", { "ws_get_GetServicePageList", this.qMsg,
CreateBy: this.CreateBy
},
res => { res => {
console.log("getdemandList", res.data.data); console.log("getdemandList", res.data.data);
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
......
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