| | |
| | | <el-container> |
| | | <el-header class="businessHeader" style="height: 40px;padding:0 8px"> |
| | | <div> |
| | | <el-button v-if="permissionList.addBtn" icon="el-icon-plus" size="small" type="primary" @click="businessAdd"> |
| | | <el-button v-if="permissionList.addBtn" icon="el-icon-plus" size="small" type="primary" @click="businessAdd" plain> |
| | | 新增 |
| | | </el-button> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-edit" size="small" type="primary" @click="businessEdit"> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-edit" size="small" type="primary" @click="businessEdit" plain> |
| | | 修改 |
| | | </el-button> |
| | | <el-button v-if="permissionList.table" icon="el-icon-thumb" size="small" type="primary" |
| | | @click="selectFromTable"> 从已有中获取 |
| | | @click="selectFromTable" plain> 从已有中获取 |
| | | </el-button> |
| | | </div> |
| | | </el-header> |
| | |
| | | </avue-crud> |
| | | </basic-container> |
| | | </el-main> |
| | | <el-dialog :visible="ref.visible" append-to-body title="从数据库中添加" width="700px" @close="dialoghandelfalse"> |
| | | <el-dialog :visible="ref.visible" append-to-body title="从数据库中添加" width="700px" @close="dialoghandelfalse" top="9vh"> |
| | | 选择领域: |
| | | <el-select v-model="domain" placeholder="请选择" size="small" @change="refOnLoad"> |
| | | <el-option v-for="item in domainOptions" :key="item.value" :label="item.label" :value="item.value"> |