更新版本库
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
import { fetchManagerList,openBizassessroom,resetVerificationCode,fetchJuryList,fetchSupplierList
|
||||
,fetchJuryMemInfo,updateJuryMemInfo,validateVerificationCode,fetchbidslist } from '../services/bidev';
|
||||
,fetchJuryMemInfo,updateJuryMemInfo,validateVerificationCode,fetchbidslist
|
||||
,fetchPreSupplierList,fetchPreList,fetchPreListt,pushRedirectRe,getCheckedByRoomId } from '../services/bidev';
|
||||
import { message } from 'antd';
|
||||
import { getProId } from '@/utils/session';
|
||||
// import { message } from 'antd';
|
||||
// import { stringify } from 'qs';
|
||||
|
||||
@ -34,7 +36,7 @@ export default {
|
||||
pageNo:1,
|
||||
pageSize:10,
|
||||
roomType:2,
|
||||
tpId:1111111//项目id
|
||||
tpId:getProId()//项目id
|
||||
}
|
||||
yield put({ type: 'fetchManagerList', payload: {...params} });
|
||||
message.success("开启成功!")
|
||||
@ -62,6 +64,7 @@ export default {
|
||||
*fetchJuryList({payload,callback}, { call, put }){
|
||||
const response =yield call(fetchJuryList,payload)
|
||||
if(response.code==200){
|
||||
console.log(response);
|
||||
yield put({ type: 'save', payload: {JuryList:response.data} });
|
||||
}else{
|
||||
message.error("查询错误!")
|
||||
@ -104,9 +107,6 @@ export default {
|
||||
if(callback) callback(response,"fail")
|
||||
message.error("校验码错误!")
|
||||
}
|
||||
}else{
|
||||
if(callback) callback(response,"fail")
|
||||
message.error(response.message)
|
||||
}
|
||||
},
|
||||
*fetchbidslist({payload,callback}, { call, put }){
|
||||
@ -116,7 +116,64 @@ export default {
|
||||
}else{
|
||||
message.error("查询投标人信息错误!")
|
||||
}
|
||||
}
|
||||
},
|
||||
// 获取初审汇总表title
|
||||
*fetchPreList({payload,callback}, { call, put }){
|
||||
const response =yield call(fetchPreList,payload)
|
||||
// const response=preList;
|
||||
if(response.code==200){
|
||||
if(callback) callback(response,"success")
|
||||
yield put({ type: 'save', payload: {preList:response.data} });
|
||||
}else{
|
||||
if(callback) callback(response,"fail")
|
||||
message.error("查询错误!")
|
||||
}
|
||||
},
|
||||
// 获取初审汇总表datasource
|
||||
*fetchPreSupplierList({payload,callback}, { call, put }){
|
||||
const response =yield call(fetchPreSupplierList,payload)
|
||||
// const response =preSupplierList;
|
||||
if(response.code==200){
|
||||
if(callback) callback(response,"success")
|
||||
yield put({ type: 'save', payload: {preSupplierList:response.data}});
|
||||
}else{
|
||||
if(callback) callback(response,"fail")
|
||||
message.error("查询错误!")
|
||||
}
|
||||
},
|
||||
*fetchPreListt({payload,callback}, { call, put }){
|
||||
const response =yield call(fetchPreListt,payload)
|
||||
// const response =preSupplierList;
|
||||
if(response.code==200){
|
||||
if(callback) callback(response,"success")
|
||||
yield put({ type: 'save', payload: {preSupplierList:response.data}});
|
||||
}else{
|
||||
if(callback) callback(response,"fail")
|
||||
message.error("查询错误!")
|
||||
}
|
||||
},
|
||||
*pushRedirectRe({payload,callback}, { call, put }){
|
||||
const response =yield call(pushRedirectRe,payload)
|
||||
if(response.code==200){
|
||||
if(response.success==true){
|
||||
if(callback) callback(response,"success")
|
||||
}else{
|
||||
if(callback) callback(response,"fail")
|
||||
message.error("专家承诺书确认出现错误,请重试!")
|
||||
}
|
||||
}
|
||||
},
|
||||
*getCheckedByRoomId({payload,callback}, { call, put }){
|
||||
const response =yield call(getCheckedByRoomId,payload)
|
||||
if(response.code==200){
|
||||
if(response.success==true){
|
||||
if(callback) callback(response)
|
||||
}else{
|
||||
if(callback) callback(response)
|
||||
message.error("获取状态失败")
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
reducers: {
|
||||
save(state, { payload }) {
|
||||
|
Reference in New Issue
Block a user