|
|
|
|
@ -92,7 +92,7 @@
|
|
|
|
|
<Button class="slot-btns-item" type="primary" size="small" @click="bidding(scope.row)">招标文件审查</Button>
|
|
|
|
|
</template>
|
|
|
|
|
<Button class="slot-btns-item" type="primary" size="small">附件管理</Button>
|
|
|
|
|
<template v-if="scope.row.req_status === 1">
|
|
|
|
|
<template v-if="scope.row.req_status === 1 && scope.row.is_plan === 0">
|
|
|
|
|
<Button class="slot-btns-item" type="primary" size="small" @click="askProcess(scope.row)">请示流程</Button>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="scope.row.join_status === 1">
|
|
|
|
|
@ -297,6 +297,13 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return {
|
|
|
|
|
window:{
|
|
|
|
|
width:0,
|
|
|
|
|
height:0,
|
|
|
|
|
top:0,
|
|
|
|
|
left:0
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//搜索
|
|
|
|
|
select:{
|
|
|
|
|
showDatePicker:'',
|
|
|
|
|
@ -572,7 +579,7 @@ export default {
|
|
|
|
|
{required:true,message:"必填"}
|
|
|
|
|
],
|
|
|
|
|
plan:[
|
|
|
|
|
{validator:planPass}
|
|
|
|
|
{validator:planPass, trigger: 'change'}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
isShowPlan:false,//新增中预算计划
|
|
|
|
|
@ -593,7 +600,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
let res = await getOatoken()
|
|
|
|
|
let url =`${process.env.VUE_APP_OUT_URL}/admin/flow/create/27?oatoken=${res.oatoken}&out_contract_id=${row.id}&contract_json=${JSON.stringify(baseInfo)}`
|
|
|
|
|
let bidding = window.open(url,'bidding','top=100,left=100,width=1000,height=600')
|
|
|
|
|
let bidding = window.open(url,'bidding',`top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0`)
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//采购流程
|
|
|
|
|
@ -610,7 +617,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
let res = await getOatoken()
|
|
|
|
|
let url = `${process.env.VUE_APP_OUT_URL}/admin/flow/create/2?oatoken=${res.oatoken}&out_contract_id=${row.id}&contract_json=${JSON.stringify(baseInfo)}`
|
|
|
|
|
let buyProcess = window.open(url, 'buyProcess', 'top=100,left=100,width=1000,height=600')
|
|
|
|
|
let buyProcess = window.open(url, 'buyProcess', `top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0`)
|
|
|
|
|
},
|
|
|
|
|
//会签流程
|
|
|
|
|
async signProcess(row){
|
|
|
|
|
@ -622,13 +629,13 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
let res = await getOatoken()
|
|
|
|
|
let url = `${process.env.VUE_APP_OUT_URL}/admin/flow/create/3?oatoken=${res.oatoken}&out_contract_id=${row.id}&contract_json=${JSON.stringify(baseInfo)}`
|
|
|
|
|
let signProcess = window.open(url, 'signProcess', 'top=100,left=100,width=1000,height=600')
|
|
|
|
|
let signProcess = window.open(url, 'signProcess', `top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0`)
|
|
|
|
|
},
|
|
|
|
|
//请示流程
|
|
|
|
|
async askProcess(row){
|
|
|
|
|
let res = await getOatoken()
|
|
|
|
|
let url = `${process.env.VUE_APP_OUT_URL}/admin/flow/create/17?oatoken=${res.oatoken}&out_contract_id=${row.id}`
|
|
|
|
|
let askProcess = window.open(url, 'askProcess', 'top=100,left=100,width=1000,height=600')
|
|
|
|
|
let askProcess = window.open(url, 'askProcess', `top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0`)
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//防抖
|
|
|
|
|
@ -762,6 +769,11 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
this.window.width = screen.availWidth * 0.8
|
|
|
|
|
this.window.height = screen.availHeight * 0.8
|
|
|
|
|
this.window.top = (window.screen.height - 30 - this.window.height)/2
|
|
|
|
|
this.window.left = (window.screen.width - 10 - this.window.width)/2
|
|
|
|
|
|
|
|
|
|
this.getPurchaseType()
|
|
|
|
|
this.getContracts()
|
|
|
|
|
this.getDepartment()
|
|
|
|
|
|