From a9d7d443f8ac0a2c98d9fbc4b64594fea6336dda Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 17 二月 2025 13:12:25 +0800
Subject: [PATCH] 标准库调整
---
src/views/system/customer/index.vue | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/views/system/customer/index.vue b/src/views/system/customer/index.vue
index b6d0e30..6e24596 100644
--- a/src/views/system/customer/index.vue
+++ b/src/views/system/customer/index.vue
@@ -18,7 +18,7 @@
</div>
</div>
<div>
- <lims-table :tableData="tableData" :column="column" :page="page" :tableLoading="tableLoading"></lims-table>
+ <lims-table :tableData="tableData" :column="column" :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">
@@ -111,7 +111,9 @@
formTitle: '',
addDia: false,
addPower: true,
- user: {},
+ user: {
+ company: ''
+ },
userRules: {
company: [{ required: true, message: '璇疯緭鍏ュ鎴峰悕绉�', trigger: 'blur' }],
companyEn: [{ required: true, message: '璇疯緭鍏ュ鎴峰悕绉癊N', trigger: 'blur' }],
@@ -146,12 +148,16 @@
this.queryParams.company = ''
this.getList()
},
+ pagination () {
+
+ },
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,6 +189,7 @@
})
},
reset () {
+ this.user = {}
this.addDia = false
this.resetForm("userForm");
},
--
Gitblit v1.9.3