Commit 1d96d5c4 authored by 黄奎's avatar 黄奎

页面修改

parent e951dff3
<template> <template>
<q-page> <q-page>
<div class="demandlist"> <div class="demandlist">
需求单列表 需求单列表
</div> </div>
</q-page> </q-page>
</template> </template>
...@@ -10,18 +10,37 @@ ...@@ -10,18 +10,37 @@
props: [], props: [],
data() { data() {
return { return {
CreateBy: 0,
DataList:[],
}; };
}, },
created() { created() {
}, },
mounted() { mounted() {
if (localStorage.b2bUser) {
var b2bUser = JSON.parse(window.localStorage.getItem('b2bUser'))
if (b2bUser) {
this.CreateBy = b2bUser.accountId;
this.getdemandList();
}
}
}, },
methods: { methods: {
getContract() { getdemandList() {
this.apipost(
"ws_get_GetServicePageList", {
CreateBy: this.CreateBy
},
res => {
console.log("getdemandList", res.data.data);
if (res.data.resultCode == 1) {
}
},
err => {}
);
} }
}, },
}; };
......
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