|
|
@@ -39,7 +39,7 @@
|
|
|
<p v-else>{{scope.column.data[scope.column.columnname]?scope.column.data[scope.column.columnname]:'--'}}</p>
|
|
|
</template>
|
|
|
</tableList>
|
|
|
- <el-button slot="reference" style="float: left" @click="listData" size="small" type="primary" icon="el-icon-plus">添加</el-button>
|
|
|
+ <el-button slot="reference" style="float: left" @click="onShow" size="small" type="primary" icon="el-icon-plus">添加</el-button>
|
|
|
</el-popover>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -90,8 +90,12 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
+ onShow(){
|
|
|
+ this.param.content.where.tag = ''
|
|
|
+ this.param.content.where.condtion = ''
|
|
|
+ this.listData()
|
|
|
+ },
|
|
|
async listData(){
|
|
|
- console.log(this.$route.path,'path')
|
|
|
if (this.$route.path === '/projectChangeDetail'){
|
|
|
this.param.id = 20221111131004
|
|
|
this.param.content.sa_projectid = this.$route.query.id
|