From b5904bd50cbc095c19afd817e526ee37746ee004 Mon Sep 17 00:00:00 2001 From: panqihua <panqihua@melt.icu> Date: Wed, 18 Jan 2023 00:48:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=82=E5=95=86=E7=AE=A1=E7=90=86-=E5=8E=82?= =?UTF-8?q?=E5=95=86=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/platform/manufacturer/type.vue | 60 ++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 src/views/platform/manufacturer/type.vue diff --git a/src/views/platform/manufacturer/type.vue b/src/views/platform/manufacturer/type.vue new file mode 100644 index 0000000..f6e188a --- /dev/null +++ b/src/views/platform/manufacturer/type.vue @@ -0,0 +1,60 @@ +<template> + <div class="app-container"> + <el-form :inline="true"> + <el-form-item> + <el-input placeholder="请输入厂商类型"></el-input> + </el-form-item> + <el-form-item> + <el-select v-model="queryParams.status" placeholder="全部状态" clearable> + <el-option v-for="dict in dict.type.sys_normal_disable" :key="dict.value" :label="dict.label" + :value="dict.value"></el-option> + </el-select> + </el-form-item> + <el-form-item> + <el-button type="primary">查询</el-button> + <el-button>重置</el-button> + </el-form-item> + <br /> + <el-form-item> + <el-button type="primary">新增</el-button> + <el-button>批量删除</el-button> + </el-form-item> + </el-form> + <el-table :data="dataList" border> + <el-table-column label="排序" type="index" align="center"></el-table-column> + <el-table-column label="类型名称" align="center">电子产品</el-table-column> + <el-table-column label="厂商" align="center">45</el-table-column> + <el-table-column label="更新时间" align="center">2022-12-31 12:31</el-table-column> + <el-table-column label="状态" align="center">已启用</el-table-column> + <el-table-column label="操作" align="center"> + <el-button type="text">编辑</el-button> + <el-button type="text">删除</el-button> + </el-table-column> + </el-table> + + <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" + :limit.sync="queryParams.pageSize" @pagination="getList" /> + </div> +</template> +<script> +export default { + name: 'Type', + dicts: ['sys_normal_disable'], + data() { + return { + total: 1, + dataList: [{}], + queryParams: { + pageNum: 1, + pageSize: 10, + status: undefined + } + } + }, + methods: { + getList() { + + } + } +} +</script> \ No newline at end of file