厂商管理-厂商类型

master
panqihua 2 years ago
parent 6f3c44bce6
commit b5904bd50c
  1. 60
      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>
Loading…
Cancel
Save