【修复】数据字典列表的 status 下拉无数据的情况

This commit is contained in:
YunaiV
2022-11-12 17:39:50 +08:00
parent e4036842de
commit 9e39356512
7 changed files with 1 additions and 15 deletions

View File

@ -141,8 +141,6 @@ export default {
refreshTable: true, refreshTable: true,
// 是否展开 // 是否展开
expand: false, expand: false,
// 状态数据字典
statusOptions: [],
// 查询参数 // 查询参数
queryParams: { queryParams: {
name: undefined, name: undefined,

View File

@ -11,7 +11,7 @@
</el-form-item> </el-form-item>
<el-form-item label="状态" prop="status"> <el-form-item label="状态" prop="status">
<el-select v-model="queryParams.status" placeholder="数据状态" clearable> <el-select v-model="queryParams.status" placeholder="数据状态" clearable>
<el-option v-for="dict in statusOptions" :key="dict.value" :label="dict.label" :value="dict.value"/> <el-option v-for="dict in statusDictDatas" :key="dict.value" :label="dict.label" :value="dict.value"/>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
@ -130,8 +130,6 @@ export default {
title: "", title: "",
// 是否显示弹出层 // 是否显示弹出层
open: false, open: false,
// 状态数据字典
statusOptions: [],
// 类型数据字典 // 类型数据字典
typeOptions: [], typeOptions: [],
// 查询参数 // 查询参数

View File

@ -118,8 +118,6 @@ export default {
title: "", title: "",
// 是否显示弹出层 // 是否显示弹出层
open: false, open: false,
// 状态数据字典
statusOptions: [],
// 查询参数 // 查询参数
queryParams: { queryParams: {
pageNo: 1, pageNo: 1,

View File

@ -79,8 +79,6 @@ export default {
total: 0, total: 0,
// 表格数据 // 表格数据
list: [], list: [],
// 状态数据字典
statusOptions: [],
// 查询参数 // 查询参数
queryParams: { queryParams: {
pageNo: 1, pageNo: 1,

View File

@ -148,8 +148,6 @@ export default {
open: false, open: false,
// 类型数据字典 // 类型数据字典
typeOptions: [], typeOptions: [],
// 类型数据字典
statusOptions: [],
// 表单参数 // 表单参数
form: {}, form: {},
// 查询参数 // 查询参数

View File

@ -112,8 +112,6 @@ export default {
title: "", title: "",
// 是否显示弹出层 // 是否显示弹出层
open: false, open: false,
// 状态数据字典
statusOptions: [],
// 查询参数 // 查询参数
queryParams: { queryParams: {
pageNo: 1, pageNo: 1,

View File

@ -274,8 +274,6 @@ export default {
deptName: undefined, deptName: undefined,
// 默认密码 // 默认密码
initPassword: undefined, initPassword: undefined,
// 状态数据字典
statusOptions: [],
// 性别状态字典 // 性别状态字典
sexOptions: [], sexOptions: [],
// 岗位选项 // 岗位选项