|
|
@@ -105,7 +105,7 @@
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
v-if="
|
|
|
- (!row.hasOwnProperty('report_type') ||
|
|
|
+ (row.report_type === 0 ||
|
|
|
row.report_type === 1 ||
|
|
|
row.report_type === 4) &&
|
|
|
row.can_update
|
|
|
@@ -771,6 +771,8 @@ export default {
|
|
|
.then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.$message.success(res.msg)
|
|
|
+ this.approvalStatus = 3
|
|
|
+ this.approvalMsg = ''
|
|
|
this.refreshChange()
|
|
|
} else {
|
|
|
this.$message.error(res.msg)
|
|
|
@@ -867,6 +869,13 @@ export default {
|
|
|
if (res.code === 200) {
|
|
|
this.showAdd = false
|
|
|
this.$message.success(res.msg)
|
|
|
+ this.projectForm = {
|
|
|
+ name: '',
|
|
|
+ totalAmount: '',
|
|
|
+ projectType: '1589613582090166274',
|
|
|
+ tags: '',
|
|
|
+ introduction: ''
|
|
|
+ }
|
|
|
this.onLoad()
|
|
|
} else {
|
|
|
this.showAdd = false
|