From eeaddf88176b61b01db069c0939bdaaa3da23e69 Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期三, 23 四月 2025 08:43:20 +0800
Subject: [PATCH] 系统配置查询条件与编辑内容联动显示问题

---
 UI-Project/src/views/User/userpageNo.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/UI-Project/src/views/User/userpageNo.vue b/UI-Project/src/views/User/userpageNo.vue
index 63f5b2a..51a02d8 100644
--- a/UI-Project/src/views/User/userpageNo.vue
+++ b/UI-Project/src/views/User/userpageNo.vue
@@ -18,6 +18,8 @@
 const totalRecords = ref(0)
 const configValue = ref('')
 const isEnable = ref('')
+const configValuesearch = ref('')
+const isEnablesearch = ref('')
   const listByUserName = async () => {  
   try {
   const response = await request.post('/loadGlass/sys/sysConfig/queryConfigPage',{
@@ -52,9 +54,8 @@
       pageSize: 10,
       configName: configName.value,
       configCode: configCode.value,
-      configValue: configValue.value,
-      // isEnable: isEnable.value
-      isEnable: isEnable.value !== '' ? isEnable.value : -1, 
+      configValue: configValuesearch.value,
+      isEnable: isEnablesearch.value !== '' ? isEnablesearch.value : -1, 
    
      });  
     if (response.code === 200) {  
@@ -163,8 +164,8 @@
       <div style="display: flex;width: 1770px;">
     <el-input v-model="configName" clearable style="margin-left: 10px;margin-bottom: 10px;width: 200px;" :placeholder="$t('productStock.configName')" />
     <el-input v-model="configCode" clearable style="margin-left: 10px;margin-bottom: 10px;width: 200px;" @input="handleInputa" :placeholder="$t('productStock.configCode')" />
-    <el-input v-model="configValue" clearable style="margin-left: 10px;margin-bottom: 10px;width: 200px;" @input="handleInputb" :placeholder="$t('productStock.configValue')" />
-    <el-select v-model="isEnable" clearable style="margin-left: 10px;margin-bottom: 10px;width: 200px;" :placeholder="$t('sorter.startstatus')">
+    <el-input v-model="configValuesearch" clearable style="margin-left: 10px;margin-bottom: 10px;width: 200px;" @input="handleInputb" :placeholder="$t('productStock.configValue')" />
+    <el-select v-model="isEnablesearch" clearable style="margin-left: 10px;margin-bottom: 10px;width: 200px;" :placeholder="$t('sorter.startstatus')">
             <el-option :label="$t('sorter.start')" value="1"></el-option>
             <el-option :label="$t('sorter.disable')" value="0"></el-option>
           </el-select>

--
Gitblit v1.8.0