Commit c1906393 authored by Sixiang_Zzb's avatar Sixiang_Zzb

服务商管理添加mangerId

parent 48de8bb4
......@@ -19,7 +19,6 @@ export default {
effects: {
//获取物业费列表
*get({ playload }: any, { call, put }: any) {
console.log(playload);
const resp = yield call(service.get, playload);
console.log(resp);
let Data = resp.data;
......
......@@ -2,5 +2,14 @@ import request from '@/utils/request';
export function get(values: any) {
console.log(values)
return request('/tos/tosPropertyFee/get',{method: 'POST',body: JSON.stringify(values),headers:{ 'Content-Type': 'application/json'}})
const userInfo = localStorage.getItem('userInfo') || '';
const id = JSON.parse(userInfo).userModel.id;
return request('/tos/tosPropertyFee/get', {
method: 'POST',
body: JSON.stringify({
...values,
mangerId: id
}),
headers: { 'Content-Type': 'application/json' }
})
}
\ No newline at end of file
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