|
@@ -473,7 +473,7 @@
|
|
|
label="操作"
|
|
|
width="120"
|
|
|
:fixed="Object.keys(tableData).length != 0 ? 'right' : ''">
|
|
|
- <template slot-scope="scope">
|
|
|
+ <template slot-scope="scope" v-if="scope.row.hrid">
|
|
|
<slot :data="{data:scope.row,year:year}" name="edit"/>
|
|
|
<slot :data="{data:scope.row,year:year}" name="detail"/>
|
|
|
</template>
|
|
@@ -515,6 +515,8 @@ export default {
|
|
|
this.params.content.year = this.year
|
|
|
let res = await this.$api.requested(this.params)
|
|
|
this.tableData = res.data
|
|
|
+ console.log(this.tableData);
|
|
|
+
|
|
|
},
|
|
|
/* 清空指标 */
|
|
|
clearTarget() {
|