|
|
|
|
@ -1548,13 +1548,14 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
//招标文件审查
|
|
|
|
|
async bidding(row) {
|
|
|
|
|
this.setNowContract(row,'zhaobiao')
|
|
|
|
|
let baseInfo = {
|
|
|
|
|
"项目名称": row?.name,
|
|
|
|
|
"项目预算(元)": row?.plan_price
|
|
|
|
|
"title": row?.name,
|
|
|
|
|
"out_zhaobiao_id": row.id,
|
|
|
|
|
}
|
|
|
|
|
//let res = await getOatoken()
|
|
|
|
|
let url =
|
|
|
|
|
`${process.env.VUE_APP_OUT_OLD}?s=/flow/add/modid/8&oatoken=${res.oatoken}&out_contract_id=${row.id}&contract_json=${JSON.stringify(baseInfo)}`
|
|
|
|
|
`${process.env.VUE_APP_OUT_OLD}?s=/flow/add/modid/30&id=${this.$store.state.user.userId}&username=${this.$store.state.user.username}&out_zhaobiao_id=${row.id}&contract_json=${JSON.stringify(baseInfo)}`
|
|
|
|
|
let bidding = window.open(url, 'bidding',
|
|
|
|
|
`top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0`
|
|
|
|
|
)
|
|
|
|
|
@ -1990,15 +1991,20 @@ export default {
|
|
|
|
|
case "hetong":
|
|
|
|
|
select['out_contract_id'] = this.nowContract.id;
|
|
|
|
|
break;
|
|
|
|
|
case "zhaobiao":
|
|
|
|
|
select['out_zhaobiao_id'] = this.nowContract.id;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
const res = await getOutDetail(select)
|
|
|
|
|
let flowIdMap = new Map([
|
|
|
|
|
['caigou',8],
|
|
|
|
|
['hetong',9]
|
|
|
|
|
['hetong',9],
|
|
|
|
|
['zhaobiao',30]
|
|
|
|
|
])
|
|
|
|
|
let flowTypeMap = new Map([
|
|
|
|
|
['caigou',2],
|
|
|
|
|
['hetong',3]
|
|
|
|
|
['hetong',3],
|
|
|
|
|
['zhaobiao',27]
|
|
|
|
|
])
|
|
|
|
|
let getStatus = (status) => {
|
|
|
|
|
if(status === 'end') {
|
|
|
|
|
|