|
@@ -69,7 +69,7 @@
|
|
</div>
|
|
</div>
|
|
<el-button v-show="index!=0" type="primary" style="font-size: 16px;" @click="delDerData(index)">删除</el-button>
|
|
<el-button v-show="index!=0" type="primary" style="font-size: 16px;" @click="delDerData(index)">删除</el-button>
|
|
</div>
|
|
</div>
|
|
- <div class="howMoney" style="margin-top:20px">
|
|
|
|
|
|
+ <div class="howMoney" >
|
|
<div class="inpInterval" style="position: relative;top:-20px">事由</div>
|
|
<div class="inpInterval" style="position: relative;top:-20px">事由</div>
|
|
<el-input
|
|
<el-input
|
|
type="textarea"
|
|
type="textarea"
|
|
@@ -118,7 +118,7 @@
|
|
</div>
|
|
</div>
|
|
<el-button v-show="i!=0" type="primary" style="font-size: 16px;" @click="delInDerData(i)">删除</el-button>
|
|
<el-button v-show="i!=0" type="primary" style="font-size: 16px;" @click="delInDerData(i)">删除</el-button>
|
|
</div>
|
|
</div>
|
|
- <div class="howMoney" style="margin-top:20px">
|
|
|
|
|
|
+ <div class="howMoney">
|
|
<div class="inpInterval" style="position: relative;top:-20px">事由</div>
|
|
<div class="inpInterval" style="position: relative;top:-20px">事由</div>
|
|
<el-input
|
|
<el-input
|
|
type="textarea"
|
|
type="textarea"
|
|
@@ -160,7 +160,7 @@
|
|
<el-input disabled :value="residue.budget - residue.usedFund" type="number" class="inputNumber howMoneyInp" placeholder="金额"></el-input>
|
|
<el-input disabled :value="residue.budget - residue.usedFund" type="number" class="inputNumber howMoneyInp" placeholder="金额"></el-input>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="howMoney" style="margin-top:20px">
|
|
|
|
|
|
+ <div class="howMoney">
|
|
<div class="inpInterval" style="position: relative;top:-20px">备注</div>
|
|
<div class="inpInterval" style="position: relative;top:-20px">备注</div>
|
|
<el-input
|
|
<el-input
|
|
type="textarea"
|
|
type="textarea"
|
|
@@ -181,15 +181,16 @@
|
|
<div><p>附件上传</p></div>
|
|
<div><p>附件上传</p></div>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<hr>
|
|
- <div style="display: flex;flex-wrap: wrap;width: 100%;margin-bottom: 45px;">
|
|
|
|
|
|
+ <el-progress v-show="progress.show" :percentage="progress.value" :format="ProgressFormat"></el-progress>
|
|
|
|
|
|
|
|
+ <div style="display: flex;flex-wrap: wrap;width: 100%;margin-bottom: 45px;">
|
|
<el-upload
|
|
<el-upload
|
|
action="https://jsonplaceholder.typicode.com/posts/"
|
|
action="https://jsonplaceholder.typicode.com/posts/"
|
|
list-type="picture-card"
|
|
list-type="picture-card"
|
|
style="position: relative;margin-left: 10px;"
|
|
style="position: relative;margin-left: 10px;"
|
|
disabled
|
|
disabled
|
|
:on-remove="handleRemove">
|
|
:on-remove="handleRemove">
|
|
- <BeUpload @getFile="getFile" style="position: absolute;left: 0;width: 147px;height: 100%;opacity: 0;" class="uploadPic" :navName="'上传封面'" :accept="accept"></BeUpload>
|
|
|
|
|
|
+ <BeUpload @getFile="getFile" :progress="progress" style="position: absolute;left: 0;width: 147px;height: 100%;opacity: 0;" class="uploadPic" :navName="'上传封面'" :accept="accept"></BeUpload>
|
|
<i class="el-icon-plus"></i>
|
|
<i class="el-icon-plus"></i>
|
|
</el-upload>
|
|
</el-upload>
|
|
|
|
|
|
@@ -257,6 +258,10 @@ export default {
|
|
projectName:'',
|
|
projectName:'',
|
|
projectType:''
|
|
projectType:''
|
|
},
|
|
},
|
|
|
|
+ progress:{ //进度条
|
|
|
|
+ value:0,
|
|
|
|
+ show:false
|
|
|
|
+ },
|
|
projectFilter:[], //项目名称
|
|
projectFilter:[], //项目名称
|
|
projectType:[ //项目类型
|
|
projectType:[ //项目类型
|
|
{
|
|
{
|
|
@@ -399,6 +404,9 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods:{
|
|
methods:{
|
|
|
|
+ ProgressFormat(value){ //进度条
|
|
|
|
+ return value ==100?'100%':`${value}%`
|
|
|
|
+ },
|
|
delInDerData(index){ //删除间接经费
|
|
delInDerData(index){ //删除间接经费
|
|
this.indirectFundBlock.splice(index,1)
|
|
this.indirectFundBlock.splice(index,1)
|
|
},
|
|
},
|
|
@@ -466,8 +474,8 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
getFile(val) { //上传封面
|
|
getFile(val) { //上传封面
|
|
- console.log(val);
|
|
|
|
this.file.push(val)
|
|
this.file.push(val)
|
|
|
|
+ this.progress.show = false;
|
|
// this.imageUrl=require("../../assets/img/jj.jpg")
|
|
// this.imageUrl=require("../../assets/img/jj.jpg")
|
|
},
|
|
},
|
|
getData(){
|
|
getData(){
|
|
@@ -659,6 +667,7 @@ export default {
|
|
.howMoney{
|
|
.howMoney{
|
|
display: flex;
|
|
display: flex;
|
|
margin-right: 10px;
|
|
margin-right: 10px;
|
|
|
|
+ margin-bottom: 10px;
|
|
.howMoneyInp{
|
|
.howMoneyInp{
|
|
.el-input__inner{
|
|
.el-input__inner{
|
|
width: 170px;
|
|
width: 170px;
|