|
@@ -9,15 +9,19 @@
|
|
|
<el-main>
|
|
|
<div style="margin-bottom: 20px;display: flex;justify-content: space-between;align-items: center;">
|
|
|
<div style="display: flex;">
|
|
|
- <el-button type="primary" @click="showDialog('add')" class="el-icon-plus">新增</el-button>
|
|
|
- <template v-show="activeName === 'waipin'">
|
|
|
+ <div v-show="activeName === 'bendi'">
|
|
|
+ <el-button type="primary" @click="showDialog('add')"
|
|
|
+ class="el-icon-plus">本地新增</el-button>
|
|
|
+ </div>
|
|
|
+ <div v-show="activeName === 'waipin'" style="display: flex;">
|
|
|
+ <el-button type="primary" @click="showDialog('add')" class="el-icon-plus">外聘新增</el-button>
|
|
|
<el-upload action="#" :http-request="httpRequest" :show-file-list="false">
|
|
|
- <el-button type="primary" @click="" style="margin-left: 10px;">导入</el-button>
|
|
|
+ <el-button type="primary" @click="" style="margin-left: 10px;">外聘导入</el-button>
|
|
|
</el-upload>
|
|
|
<a :href="user_template_url" style="margin-left: 10px;">
|
|
|
<el-button type="primary">下载模板</el-button>
|
|
|
</a>
|
|
|
- </template>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
|