39 lines
1.2 KiB
JavaScript
39 lines
1.2 KiB
JavaScript
const mProposal = {
|
|
|
|
async getAllSession() {
|
|
const {data} = await $.get('/mobile/proposal/common/getAllSession')
|
|
return data
|
|
},
|
|
|
|
async getDelegation(sessionId) {
|
|
const {data} = await $.get('/mobile/proposal/common/getDelegation', {sessionId})
|
|
return data
|
|
},
|
|
async getDelegateType() {
|
|
const {data} = await $.get('/mobile/proposal/common/getDelegateType')
|
|
return data
|
|
},
|
|
async getProposalType() {
|
|
const {data} = await $.get('/mobile/proposal/common/getProposalType')
|
|
return data
|
|
},
|
|
async getProposalDict() {
|
|
const {data} = await $.get('/mobile/proposal/common/getProposalDict')
|
|
return data
|
|
},
|
|
async GetProposalStateCode(proposal_id) {
|
|
const {data} = await $.post("/platform/proposal/common/getProposalStateCode", {proposal_id})
|
|
return data;
|
|
},
|
|
|
|
async GetProposalResultCode(proposal_id) {
|
|
const {data} = await $.post("/platform/proposal/common/getProposalResultCode", {proposal_id})
|
|
return data;
|
|
},
|
|
async getProposalUndertake() {
|
|
const {data} = await $.get("/platform/proposal/common/getProposalUndertake")
|
|
return data
|
|
}
|
|
|
|
|
|
} |