|
@@ -53,7 +53,7 @@
|
|
<template v-slot:opreation="scope">
|
|
<template v-slot:opreation="scope">
|
|
<el-button type="text" size="mini" class="inline-16" @click="edit(scope.data)" v-if="editShow ">编辑</el-button>
|
|
<el-button type="text" size="mini" class="inline-16" @click="edit(scope.data)" v-if="editShow ">编辑</el-button>
|
|
<el-button type="text" style="color: #e09a1a" size="mini" class="inline-16" v-if="saveShow && actindex === (scope.data.index + 1)" @click="save(scope.data)">保存</el-button>
|
|
<el-button type="text" style="color: #e09a1a" size="mini" class="inline-16" v-if="saveShow && actindex === (scope.data.index + 1)" @click="save(scope.data)">保存</el-button>
|
|
- <project_del class="inline-16" v-if="editShow "></project_del>
|
|
|
|
|
|
+ <project_del class="inline-16" v-if="editShow " :data="scope.data" @onDel="onProjectSuccess"></project_del>
|
|
</template>
|
|
</template>
|
|
</tableLayout>
|
|
</tableLayout>
|
|
<div>
|
|
<div>
|
|
@@ -202,6 +202,9 @@ export default {
|
|
onSuccess(){
|
|
onSuccess(){
|
|
this.queryMainData(this.$route.query.id)
|
|
this.queryMainData(this.$route.query.id)
|
|
},
|
|
},
|
|
|
|
+ onProjectSuccess(){
|
|
|
|
+ this.getprojectTargetList()
|
|
|
|
+ },
|
|
handleSizeChange(val) {
|
|
handleSizeChange(val) {
|
|
// console.log(`每页 ${val} 条`);
|
|
// console.log(`每页 ${val} 条`);
|
|
this.params.content.pageSize = val
|
|
this.params.content.pageSize = val
|