|
|
|
@ -1385,7 +1385,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let res = await getOatoken()
|
|
|
|
let res = await getOatoken()
|
|
|
|
let url =
|
|
|
|
let url =
|
|
|
|
`${process.env.VUE_APP_OUT_URL}?s=/flow/add/modid/8/oatoken=${res.oatoken}&out_contract_id=${row.id}&contract_json=${JSON.stringify(baseInfo)}`
|
|
|
|
`${process.env.VUE_APP_OUT_URL}?s=/flow/add/modid/8&oatoken=${res.oatoken}&out_contract_id=${row.id}&contract_json=${JSON.stringify(baseInfo)}`
|
|
|
|
let bidding = window.open(url, 'bidding',
|
|
|
|
let bidding = window.open(url, 'bidding',
|
|
|
|
`top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0`
|
|
|
|
`top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0`
|
|
|
|
)
|
|
|
|
)
|
|
|
|
@ -1395,13 +1395,12 @@ export default {
|
|
|
|
async buyProcess(row) {
|
|
|
|
async buyProcess(row) {
|
|
|
|
let baseInfo = {
|
|
|
|
let baseInfo = {
|
|
|
|
"title": row?.name,
|
|
|
|
"title": row?.name,
|
|
|
|
"采购形式": row?.purchase_type?.value,
|
|
|
|
//"采购形式": row?.purchase_type?.value,
|
|
|
|
"采购方式": row?.purchase_way?.value,
|
|
|
|
"iszhengfucaigou": row.purchase_type.value === "政府采购" ? "是" : "否",
|
|
|
|
"项目类型": this.type.filter(item => {
|
|
|
|
"type": this.type.filter(item => {
|
|
|
|
return item.value === row.type
|
|
|
|
return item.value === row.type
|
|
|
|
})[0]?.label,
|
|
|
|
})[0]?.label,
|
|
|
|
"资金渠道": row?.money_way?.value,
|
|
|
|
"yusuan": row?.plan_price
|
|
|
|
"项目预算(元)": row?.plan_price
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let res = await getOatoken()
|
|
|
|
let res = await getOatoken()
|
|
|
|
let url =
|
|
|
|
let url =
|
|
|
|
@ -1413,9 +1412,9 @@ export default {
|
|
|
|
//会签流程
|
|
|
|
//会签流程
|
|
|
|
async signProcess(row) {
|
|
|
|
async signProcess(row) {
|
|
|
|
let baseInfo = {
|
|
|
|
let baseInfo = {
|
|
|
|
"合同名称": row?.name,
|
|
|
|
"title": row?.name,
|
|
|
|
"执行部门": row?.carry_department,
|
|
|
|
"执行部门": row?.carry_department,
|
|
|
|
"合同金额(元)": row?.money,
|
|
|
|
"total": row?.money,
|
|
|
|
//"承包商\\供应商":row.supply
|
|
|
|
//"承包商\\供应商":row.supply
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let res = await getOatoken()
|
|
|
|
let res = await getOatoken()
|
|
|
|
@ -1435,17 +1434,6 @@ export default {
|
|
|
|
)
|
|
|
|
)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
//防抖
|
|
|
|
|
|
|
|
debounce(fn, delay = 500) {
|
|
|
|
|
|
|
|
let timer = null
|
|
|
|
|
|
|
|
return function _debounce() {
|
|
|
|
|
|
|
|
if (timer) clearTimeout(timer)
|
|
|
|
|
|
|
|
timer = setTimeout(() => {
|
|
|
|
|
|
|
|
fn()
|
|
|
|
|
|
|
|
}, delay)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//翻页
|
|
|
|
//翻页
|
|
|
|
pageChange(e) {
|
|
|
|
pageChange(e) {
|
|
|
|
this.select.pageIndex = e
|
|
|
|
this.select.pageIndex = e
|
|
|
|
@ -1737,6 +1725,14 @@ export default {
|
|
|
|
this.getContracts()
|
|
|
|
this.getContracts()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
created() {
|
|
|
|
|
|
|
|
let iframe = document.createElement('iframe');
|
|
|
|
|
|
|
|
iframe.src = `${process.env.VUE_APP_OUT_OLD}/login/oss_login?id=${this.$store.state.user.userId}&username=${this.$store.state.user.username}`
|
|
|
|
|
|
|
|
iframe.style.display = 'none'
|
|
|
|
|
|
|
|
console.log(111,`${process.env.VUE_APP_OUT_OLD}/login/oss_login?id=${this.$store.state.user.userId}&username=${this.$store.state.user.username}`
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
document.body.appendChild(iframe);
|
|
|
|
|
|
|
|
},
|
|
|
|
destroyed() {
|
|
|
|
destroyed() {
|
|
|
|
window.onfocus = null
|
|
|
|
window.onfocus = null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|