|
@@ -1,7 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<el-card>
|
|
<el-card>
|
|
- <el-row type="flex" v-if="activeName=='cloum'" justify="space-between" style="margin: 10px 0;">
|
|
|
|
- <el-col :span="1.5" style="display: flex; align-items: center;">
|
|
|
|
|
|
+ <el-row type="flex" justify="space-between" style="margin: 10px 0;">
|
|
|
|
+ <el-col :span="1.5" v-if="activeName=='cloum' || activeName=='basic' " style="display: flex; align-items: center;">
|
|
<el-form label-width="100px" style="display: flex; align-items: center;">
|
|
<el-form label-width="100px" style="display: flex; align-items: center;">
|
|
<el-form-item style="text-align: center;margin-left:-100px;margin-top:0; margin-bottom: 0;">
|
|
<el-form-item style="text-align: center;margin-left:-100px;margin-top:0; margin-bottom: 0;">
|
|
<el-button type="primary" @click="submitForm()">保存</el-button>
|
|
<el-button type="primary" @click="submitForm()">保存</el-button>
|
|
@@ -9,12 +9,12 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-row type="flex" :gutter="10" justify="end">
|
|
|
|
|
|
+ <el-row type="flex" :gutter="10" justify="end" v-if="activeName=='cloum'">
|
|
<el-col :span="1.5" style="display: flex; align-items: center;">
|
|
<el-col :span="1.5" style="display: flex; align-items: center;">
|
|
- <el-button type="warning" plain icon="el-icon-plus" size="mini" @click="handleAdd" v-hasPermi="['system:post:add']">新增</el-button>
|
|
|
|
|
|
+ <el-button type="warning" plain icon="el-icon-plus" @click="handleAdd" v-hasPermi="['system:post:add']">新增</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="1.5" style="display: flex; align-items: center;">
|
|
<el-col :span="1.5" style="display: flex; align-items: center;">
|
|
- <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
|
|
|
|
|
|
+ <el-button type="danger" plain icon="el-icon-delete" :disabled="multiple" @click="handleDelete"
|
|
v-hasPermi="['system:post:remove']">删除</el-button>
|
|
v-hasPermi="['system:post:remove']">删除</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
<!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> -->
|
|
<!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> -->
|