|
@@ -488,6 +488,8 @@ export default {
|
|
|
pdfShowDialogs : false,
|
|
pdfShowDialogs : false,
|
|
|
pdfFileLists : [],
|
|
pdfFileLists : [],
|
|
|
parents : this,
|
|
parents : this,
|
|
|
|
|
+ //确权审批开启
|
|
|
|
|
+ result:false
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
watch:{
|
|
watch:{
|
|
@@ -1062,9 +1064,9 @@ export default {
|
|
|
var confirmParam = {};
|
|
var confirmParam = {};
|
|
|
confirmParam.menuId = "1000000007";
|
|
confirmParam.menuId = "1000000007";
|
|
|
isOpenApproval(confirmParam).then((response) => {
|
|
isOpenApproval(confirmParam).then((response) => {
|
|
|
- var result = response.data.isOpen;
|
|
|
|
|
|
|
+ this.result = response.data.isOpen;
|
|
|
//有确权内部审批
|
|
//有确权内部审批
|
|
|
- if(true == result){
|
|
|
|
|
|
|
+ if(true == this.result){
|
|
|
//获取核心审批状态(拒绝或者状态为空时显示内部审批按钮)
|
|
//获取核心审批状态(拒绝或者状态为空时显示内部审批按钮)
|
|
|
if(this.zfiCoreStatus == "02" || this.zfiCoreStatus == "" || this.zfiCoreStatus == "null" || this.zfiCoreStatus == null ){
|
|
if(this.zfiCoreStatus == "02" || this.zfiCoreStatus == "" || this.zfiCoreStatus == "null" || this.zfiCoreStatus == null ){
|
|
|
this.isHas = true;
|
|
this.isHas = true;
|
|
@@ -1086,11 +1088,11 @@ export default {
|
|
|
},
|
|
},
|
|
|
//确权
|
|
//确权
|
|
|
confirmApproval(){
|
|
confirmApproval(){
|
|
|
- //核心确权通过,直接盖章
|
|
|
|
|
- /* if(this.form.zfiCoreStatus == '01'){
|
|
|
|
|
|
|
+ //核心确权通过并且开启确权审批,直接盖章
|
|
|
|
|
+ if(this.form.zfiCoreStatus == '01' && true == this.result){
|
|
|
//预览文件
|
|
//预览文件
|
|
|
this.getContractFile(false);
|
|
this.getContractFile(false);
|
|
|
- }else{ */
|
|
|
|
|
|
|
+ }else{
|
|
|
this.$refs["form"].validate(valid => {
|
|
this.$refs["form"].validate(valid => {
|
|
|
|
|
|
|
|
if(!this.form.zfiCoreQuotaId){
|
|
if(!this.form.zfiCoreQuotaId){
|
|
@@ -1159,7 +1161,7 @@ export default {
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
- //}
|
|
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
},
|