From 2a61d7df77bba7a7cecae544c3f021d02a684af4 Mon Sep 17 00:00:00 2001
From: chenhaozhe <gaozhechen26@gmail.com>
Date: 星期日, 14 十二月 2025 21:15:18 +0800
Subject: [PATCH] 添加网页打印模块
---
src/views/FbStepFoldinBillList/EmployeeDialog.vue | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/views/FbStepFoldinBillList/EmployeeDialog.vue b/src/views/FbStepFoldinBillList/EmployeeDialog.vue
index 7b07a3b..572a0ec 100644
--- a/src/views/FbStepFoldinBillList/EmployeeDialog.vue
+++ b/src/views/FbStepFoldinBillList/EmployeeDialog.vue
@@ -260,7 +260,7 @@
selectedRows: [],
currentFilterName: '',
activeCollapse: ['more'],
- baseURL: process.env.VUE_APP_BASE_URL || "http://47.96.97.237/API/"
+ baseURL: process.env.VUE_APP_BASE_API || "http://47.96.97.237/API/"
}
},
watch: {
@@ -318,11 +318,11 @@
}
console.log('璇锋眰鍙傛暟:', requestParams)
const response = await axios.get(`${this.baseURL}/Gy_Employee/list`, { params: requestParams })
-
+
if (response.data.count === 1) {
this.tableData = response.data.data || []
this.total = response.data.count || 0
-
+
if (response.data.list.length > 0) {
this.setTableColumns(response.data.list)
}
@@ -431,11 +431,11 @@
return ` and ${col} ${com}`
}
- if (q.ColName && q.Comparator && q.Comparator !== '0' && q.ColContent)
+ if (q.ColName && q.Comparator && q.Comparator !== '0' && q.ColContent)
sWhereParts.push(buildComparator(q.ColName, q.Comparator, q.ColContent))
- if (q.ColName1 && q.Comparator1 && q.Comparator1 !== '0' && q.ColContent1)
+ if (q.ColName1 && q.Comparator1 && q.Comparator1 !== '0' && q.ColContent1)
sWhereParts.push(buildComparator(q.ColName1, q.Comparator1, q.ColContent1))
- if (q.ColName2 && q.Comparator2 && q.Comparator2 !== '0' && q.ColContent2)
+ if (q.ColName2 && q.Comparator2 && q.Comparator2 !== '0' && q.ColContent2)
sWhereParts.push(buildComparator(q.ColName2, q.Comparator2, q.ColContent2))
if (q.HNumber) sWhereParts.push(` and 鑱屽憳浠g爜 like '%${q.HNumber}%'`)
@@ -488,7 +488,7 @@
this.getEmployeeList(this.buildWhereClause())
},
-
+
handleConfirm() {
if (this.selectedRows.length === 0) {
this.$message.warning('璇烽�夋嫨鑱屽憳')
@@ -500,7 +500,7 @@
this.$emit('update:visible', false)
},
-
+
handleCancel() {
this.$emit('update:visible', false)
},
@@ -543,4 +543,4 @@
::v-deep .el-table .cell {
padding: 8px 12px;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.1