From 4ab7dbfc97e422fb6192f0218adc0bec66f4705f Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期二, 14 十月 2025 13:52:38 +0800
Subject: [PATCH] 修改新增
---
src/views/work/qualityInfo/infrastructureMng/ledger/index.vue | 21 ++++++++++++++++-----
1 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/src/views/work/qualityInfo/infrastructureMng/ledger/index.vue b/src/views/work/qualityInfo/infrastructureMng/ledger/index.vue
index f9d31aa..465519f 100644
--- a/src/views/work/qualityInfo/infrastructureMng/ledger/index.vue
+++ b/src/views/work/qualityInfo/infrastructureMng/ledger/index.vue
@@ -20,9 +20,17 @@
</el-option>
</el-select>
</el-form-item>
+ <el-form-item label="类型:" >
+ <el-select v-model="data.queryParams.deviceType" placeholder="请选择" clearable>
+ <el-option key="1" label="计算机设备" :value="1"></el-option>
+ <el-option key="2" label="办公自动化设备" :value="2"></el-option>
+ <el-option key="3" label="外部设备" :value="3"></el-option>
+ <el-option key="4" label="其他" :value="4"></el-option>
+ </el-select>
+ </el-form-item>
<el-form-item>
- <el-button v-if="isAdmin" type="primary" @click="getList">查询</el-button>
- <el-button v-if="isAdmin" type="primary" plain @click="reset">重置</el-button>
+ <el-button type="primary" @click="getList()">查询</el-button>
+ <el-button type="primary" plain @click="reset">重置</el-button>
<el-button type="primary" @click="exportInData">导入</el-button>
<vue3-json-excel
:json-data="expertData"
@@ -141,7 +149,8 @@
queryParams: {
pageNum: 1,
pageSize: 10,
- companyId: null
+ companyId: null,
+ deviceType: null
},
total: 0,
dataList: [],
@@ -217,7 +226,8 @@
let query = {
pageNum: data.queryParams.pageNum,
pageSize: 9999,
- companyId: data.queryParams.companyId
+ companyId: data.queryParams.companyId,
+ deviceType: null
}
const res = await getStandingBookList(query)
if(res.code == 200){
@@ -315,9 +325,10 @@
/** 重置新增的表单以及其他数据 */
const reset= async()=> {
data.queryParams = {
+ ...data.queryParams,
pageNum: 1,
pageSize: 10,
- companyId: null
+ deviceType: null
}
await getCompanyList()
await getList()
--
Gitblit v1.9.2