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

pull/2/head
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: [],
// //