|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="sandList-container">
|
|
|
- <div class="main-top" v-if="authTabsOpt">
|
|
|
+ <div class="main-top" v-if="authTabsOpt.length">
|
|
|
<el-button v-if="isAddBtnShow"
|
|
|
type="primary" @click="addAuthorHandle">添加作者</el-button>
|
|
|
<div>
|
|
@@ -263,7 +263,7 @@ export default {
|
|
|
this.authorForm = {
|
|
|
title: '添加作者',
|
|
|
name: '',
|
|
|
- report_type: 1
|
|
|
+ report_type: this.authTabsOpt[0].key
|
|
|
}
|
|
|
this.authorDialog = true;
|
|
|
},
|
|
@@ -343,6 +343,7 @@ export default {
|
|
|
mounted() {
|
|
|
if(this.authTabsOpt.length){
|
|
|
this.default_tab = this.authTabsOpt[0].key
|
|
|
+ this.authorForm.report_type = this.authTabsOpt[0].key
|
|
|
this.getTableData();
|
|
|
}
|
|
|
|