|
@@ -157,10 +157,13 @@
|
|
|
class="endDialog"
|
|
|
:before-close="init">
|
|
|
<div class="addDialogLogo">LOGO</div>
|
|
|
- <div class="deleteContent">"{{ tit }}"项目,有以下活动未完结!</div>
|
|
|
+ <div class="deleteContent">"{{ tit }}"项目</div>
|
|
|
<div class="download checkActivity">
|
|
|
- <span v-for="(item,index) in checkActivityFinishData" :key="index">{{ item.title }}</span>
|
|
|
- </div>
|
|
|
+ <span style="color: black;">未完结活动:</span><span v-for="(item,index) in checkActivityFinishData" :key="index">{{ item.title }}</span>
|
|
|
+ </div>
|
|
|
+ <div class="download checkActivity">
|
|
|
+ <span style="color: black;">还有未报销资金-剩余:</span><span>{{ checkFundFinishData.fund - checkFundFinishData.usedFund }}</span>
|
|
|
+ </div>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button type="primary" @click="init" class="AllDialogBtn">确认</el-button>
|
|
|
<el-button @click="init" class="AllDialogBtn">取消</el-button>
|
|
@@ -245,7 +248,7 @@ import beUpload from '../../components/tool/beUpload'
|
|
|
},
|
|
|
file:[],
|
|
|
checkActivityFinishData:[],
|
|
|
-
|
|
|
+ checkFundFinishData:{}
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
@@ -314,12 +317,16 @@ import beUpload from '../../components/tool/beUpload'
|
|
|
},
|
|
|
finish(val,tit){ //结项对话框显示
|
|
|
this.checkActivityFinishData = [];
|
|
|
+ this.checkFundFinishData={};
|
|
|
this.ajax.get(this.$store.state.api+"/GetActivityNoReportByPId",{
|
|
|
uid:this.$store.state.userInfo.userid,
|
|
|
pid:val
|
|
|
}).then(res=>{
|
|
|
- if(res.data[0].length>0){
|
|
|
+ console.log(res.data);
|
|
|
+ if(res.data[0].length>0 || res.data[1].length>0){
|
|
|
this.checkActivityFinishData = res.data[0];
|
|
|
+ this.checkFundFinishData = res.data[1][0];
|
|
|
+
|
|
|
this.tit = tit;
|
|
|
this.NoReportActivity = true;
|
|
|
}else{
|