63 lines
2.0 KiB
JavaScript
63 lines
2.0 KiB
JavaScript
const mProposal = {
|
|
needSignState: [],
|
|
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 getProposalConfig() {
|
|
const {data} = await $.get("/platform/proposal/common/getProposalConfig")
|
|
return data
|
|
},
|
|
async getProposalNeedSignStateCode() {
|
|
const {data} = await $.get("/platform/proposal/common/getProposalNeedSignStateCode")
|
|
this.needSignState = data
|
|
},
|
|
/**
|
|
* 根据教代会获取代表团
|
|
* @returns {Promise<*>}
|
|
*/
|
|
async getDelegation(meetingId) {
|
|
const {data} = await $.get("/platform/proposal/common/getDelegation", {meetingId})
|
|
return data
|
|
},
|
|
async getOpenMeeting() {
|
|
const {data} = await $.get("/platform/proposal/common/getOpenMeeting")
|
|
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
|
|
},
|
|
async getProposalConfig() {
|
|
const {data} = await $.get("/platform/proposal/common/getProposalConfig")
|
|
return data
|
|
},
|
|
|
|
|
|
} |