| | |
| | | <el-row :gutter="10" style="margin-bottom: 10px"> |
| | | <el-col :span="3"> |
| | | <el-button type="primary" @click="handlData" |
| | | ><el-icon> <Plus /> </el-icon>选择数据</el-button |
| | | > |
| | | <el-icon> |
| | | <Plus/> |
| | | </el-icon> |
| | | 选择数据 |
| | | </el-button |
| | | > |
| | | </el-col> |
| | | <el-col :span="4"> |
| | |
| | | <el-button |
| | | @click="handleClose" |
| | | v-if="dialogType === 'add' || dialogType === 'edit'" |
| | | >取 消</el-button |
| | | >取 消 |
| | | </el-button |
| | | > |
| | | <!-- <el-button @click="handleReset" v-if="dialogType === 'edit'" |
| | | >重 置</el-button |
| | | > --> |
| | | <el-button type="primary" :loading="loading" @click="handleSubmit" |
| | | >确 定</el-button |
| | | >确 定 |
| | | </el-button |
| | | > |
| | | </div> |
| | | </template> |
| | |
| | | selectedIds.value = []; |
| | | ElMessage.success("已清空所有数据"); |
| | | }) |
| | | .catch(() => {}); |
| | | .catch(() => { |
| | | }); |
| | | }; |
| | | |
| | | // 计算总使用量 |
| | |
| | | .el-row > .el-col > h1 { |
| | | font-weight: bolder; |
| | | } |
| | | |
| | | .empty-table > .el-row { |
| | | margin-bottom: 12px; |
| | | } |