|
|
@@ -1,7 +1,9 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <div class="padding top flex flex-center flex-justify-between">
|
|
|
- <span>到位资金记录</span>
|
|
|
+ <div
|
|
|
+ class="padding top flex flex-center flex-justify-between ml-20 mr-20 mt-20"
|
|
|
+ >
|
|
|
+ <span>到位资金记录(单位:万元)</span>
|
|
|
</div>
|
|
|
<div class="ml-20 mr-20 mt-20">
|
|
|
<avue-crud
|
|
|
@@ -9,7 +11,6 @@
|
|
|
:data="data"
|
|
|
ref="crud"
|
|
|
v-model="form"
|
|
|
- @row-del="rowDel"
|
|
|
@row-save="handleRowSave"
|
|
|
@row-update="rowUpdate"
|
|
|
@on-load="onLoad"
|
|
|
@@ -38,14 +39,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div
|
|
|
- v-for="i in form.accountInformationFileList"
|
|
|
- :key="i.id"
|
|
|
- class="pointer"
|
|
|
- >
|
|
|
- {{ i.title }}
|
|
|
- <el-button text type="primary" plain>删除</el-button>
|
|
|
- </div>
|
|
|
</div>
|
|
|
<div v-else>
|
|
|
<div v-for="item in fileList" :key="item.id">
|
|
|
@@ -84,13 +77,13 @@ export default {
|
|
|
option: {
|
|
|
align: 'center',
|
|
|
menuAlign: 'center',
|
|
|
- menuWidth: 250,
|
|
|
+ menuWidth: 180,
|
|
|
height: 480,
|
|
|
size: 'mini',
|
|
|
addBtn: true,
|
|
|
editBtn: true,
|
|
|
viewBtn: true,
|
|
|
- delBtn: true,
|
|
|
+ delBtn: false,
|
|
|
refreshBtn: false,
|
|
|
columnBtn: false,
|
|
|
labelWidth: 240,
|
|
|
@@ -99,109 +92,58 @@ export default {
|
|
|
{
|
|
|
label: '中央预算内投资',
|
|
|
prop: 'investmentOfCentralBudget',
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: '中央预算内投资',
|
|
|
- trigger: 'blur'
|
|
|
- }
|
|
|
- ]
|
|
|
+ type: 'number',
|
|
|
+ width: 150,
|
|
|
+ slot: true
|
|
|
},
|
|
|
{
|
|
|
label: '银行贷款',
|
|
|
prop: 'bankLoans',
|
|
|
type: 'number',
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: '银行贷款',
|
|
|
- trigger: 'blur'
|
|
|
- }
|
|
|
- ]
|
|
|
+ width: 150
|
|
|
},
|
|
|
{
|
|
|
label: '专项债券资金',
|
|
|
prop: 'specialBondFunds',
|
|
|
type: 'number',
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: '专项债券资金',
|
|
|
- trigger: 'blur'
|
|
|
- }
|
|
|
- ]
|
|
|
+ width: 150
|
|
|
},
|
|
|
{
|
|
|
label: '抗疫特别国债资金',
|
|
|
prop: 'antiEpidemicSpecialTreasuryBondFund',
|
|
|
type: 'number',
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: '抗疫特别国债资金',
|
|
|
- trigger: 'blur'
|
|
|
- }
|
|
|
- ]
|
|
|
+ width: 150
|
|
|
},
|
|
|
{
|
|
|
label: '其他地方财政性建设基金',
|
|
|
prop: 'otherLocalFiscalConstructionFunds',
|
|
|
type: 'number',
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: '其他地方财政性建设基金',
|
|
|
- trigger: 'blur'
|
|
|
- }
|
|
|
- ]
|
|
|
+ width: 150
|
|
|
},
|
|
|
{
|
|
|
label: '政策性开发金融工具(基金)投资',
|
|
|
prop: 'policyBasedDevelopmentFinancialInvestment',
|
|
|
type: 'number',
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: '政策性开发金融工具(基金)投资',
|
|
|
- trigger: 'blur'
|
|
|
- }
|
|
|
- ]
|
|
|
+ width: 150
|
|
|
},
|
|
|
{
|
|
|
label: '省级预算内投资',
|
|
|
prop: 'investmentWithinProvincialBudget',
|
|
|
type: 'number',
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: '省级预算内投资',
|
|
|
- trigger: 'blur'
|
|
|
- }
|
|
|
- ]
|
|
|
+ width: 150
|
|
|
},
|
|
|
{
|
|
|
label: '市级预算内投资',
|
|
|
prop: 'investmentWithinMunicipalBudget',
|
|
|
type: 'number',
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: '市级预算内投资',
|
|
|
- trigger: 'blur'
|
|
|
- }
|
|
|
- ]
|
|
|
+ width: 150
|
|
|
},
|
|
|
{
|
|
|
label: '县级预算内投资',
|
|
|
prop: 'investmentWithinCountyLevelBudget',
|
|
|
type: 'number',
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: '县级预算内投资',
|
|
|
- trigger: 'blur'
|
|
|
- }
|
|
|
- ]
|
|
|
+ width: 150,
|
|
|
+ slot: true
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
@@ -253,24 +195,6 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
- },
|
|
|
- rowDel(row, index, done) {
|
|
|
- this.$confirm('请确认是否删除该条资金信息?', {
|
|
|
- type: 'warning'
|
|
|
- }).then(res => {
|
|
|
- if (res === 'confirm') {
|
|
|
- this.$api.funds.fundsRemove({ ids: row.id }).then(res => {
|
|
|
- if (res.code === 200) {
|
|
|
- this.$message.success(res.msg)
|
|
|
- this.onLoad()
|
|
|
- done(row)
|
|
|
- } else {
|
|
|
- this.$message.error(res.msg)
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- console.log(res)
|
|
|
- })
|
|
|
}
|
|
|
}
|
|
|
}
|