From ceec89801ad69708c33babb90d4f9d9ebfd8e3f9 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期四, 27 八月 2026 16:20:42 +0800
Subject: [PATCH] fix(order): -移除英文字段验证 - 删除与OA流程相关的无用代码和组件 - 移除系统用户管理中的获取三方人员功能 - 更新设备二维码链接使用动态API地址 - 清理不合格处理页面中的OA相关功能和字段 - 移除登录页面的集团集成登录按钮 - 删除未使用的API接口和组件引用

---
 src/views/system/customer/index.vue |   69 +++++++++++++++++++++++-----------
 1 files changed, 46 insertions(+), 23 deletions(-)

diff --git a/src/views/system/customer/index.vue b/src/views/system/customer/index.vue
index b6d0e30..1e400c9 100644
--- a/src/views/system/customer/index.vue
+++ b/src/views/system/customer/index.vue
@@ -1,24 +1,26 @@
 <template>
   <div class="app-container">
-    <div class="search">
-      <div>
-        <el-form :model="queryParams" ref="queryForm" size="small" :inline="true">
-          <el-form-item label="瀹㈡埛鍚嶇О" prop="company">
-            <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="queryParams.company"
-                      @keyup.enter.native="getList"></el-input>
-          </el-form-item>
-          <el-form-item>
-            <el-button type="primary" icon="el-icon-search" size="mini" @click="getList">鏌� 璇�</el-button>
-            <el-button icon="el-icon-refresh" size="mini" @click="refresh">閲� 缃�</el-button>
-          </el-form-item>
-        </el-form>
+    <div style="display: flex;justify-content: space-between">
+      <div class="search_box">
+        <div class="search_item">
+          <span class="search_label">瀹㈡埛鍚嶇О</span>
+          <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="queryParams.company"
+                    @keyup.enter.native="getList"></el-input>
+        </div>
+        <div class="search_button">
+          <el-button type="primary" size="mini" @click="getList">鏌ヨ</el-button>
+          <el-button size="mini" @click="refresh">閲嶇疆</el-button>
+        </div>
       </div>
       <div>
         <el-button size="small" type="primary" @click="openFormDia('add')" icon="el-icon-plus">鏂板</el-button>
       </div>
     </div>
     <div>
-      <lims-table :tableData="tableData" :column="column" :page="page" :tableLoading="tableLoading"></lims-table>
+      <lims-table :tableData="tableData" :column="column"
+                  :height="'calc(100vh - 250px)'"
+                  :page="page" :tableLoading="tableLoading"
+                  @pagination="pagination"></lims-table>
     </div>
     <el-dialog :title="formTitle" :visible.sync="addDia" width="450px">
       <el-form ref="userForm" :model="user" :rules="userRules" label-position="right" label-width="100px">
@@ -61,6 +63,7 @@
 import limsTable from '@/components/Table/lims-table.vue'
 import {addCustom, delCustomById, selectCustomPageList, upCustom} from "@/api/system/customer";
 export default {
+  name: 'Customer',
   components: {
     limsTable
   },
@@ -102,8 +105,8 @@
       ],
       page: {
         total:0,
-        size:10,
-        current:0
+        size:20,
+        current:1
       },
       tableLoading: false,
       // 缂栬緫瀹㈡埛寮规
@@ -111,12 +114,12 @@
       formTitle: '',
       addDia: false,
       addPower: true,
-      user: {},
+      user: {
+        company: ''
+      },
       userRules: {
         company: [{ required: true, message: '璇疯緭鍏ュ鎴峰悕绉�', trigger: 'blur' }],
-        companyEn: [{ required: true, message: '璇疯緭鍏ュ鎴峰悕绉癊N', trigger: 'blur' }],
         address: [{ required: true, message: '璇疯緭鍏ュ崟浣嶅湴鍧�', trigger: 'blur' }],
-        addressEn: [{ required: true, message: '璇疯緭鍗曚綅鍦板潃EN', trigger: 'blur' }],
         num: [{ required: true, message: '璇疯緭鍏ュ姞鎬ラ搴�', trigger: 'blur' }],
         code2: [{ required: true, message: '璇疯緭鍏ュ鎴风紪鍙�', trigger: 'blur' }],
       },
@@ -146,12 +149,17 @@
       this.queryParams.company = ''
       this.getList()
     },
+    pagination (page) {
+      this.page.size = page.limit
+      this.getList()
+    },
     openFormDia (type, row) {
       this.addDia = true
+      this.user = {}
       this.formTitle = type === 'add' ? '鏂板瀹㈡埛' : '缂栬緫瀹㈡埛'
       this.operationType = type
       if (type === 'edit') {
-        this.user = row
+        this.user = this.HaveJson(row)
       }
     },
     customAdd() {
@@ -183,8 +191,9 @@
       })
     },
     reset () {
-      this.addDia = false
+      this.user = {}
       this.resetForm("userForm");
+      this.addDia = false
     },
     delete (row) {
       this.$confirm('鏄惁鍒犻櫎褰撳墠鏁版嵁?', "璀﹀憡", {
@@ -208,9 +217,23 @@
 </script>
 
 <style scoped>
-.search {
-  height: 46px;
+.search_box {
   display: flex;
-  justify-content: space-between;
+}
+.search_item {
+  margin-bottom: 18px;
+  margin-right: 10px;
+  display: flex;
+  align-items: center;
+  line-height: 32px;
+}
+.search_label {
+  width: 88px;
+  font-size: 14px;
+  font-weight: 700;
+  color: #606266;
+}
+.search_button {
+  line-height: 30px;
 }
 </style>

--
Gitblit v1.9.3