[]>([
return (
@@ -97,25 +97,19 @@ const columns = reactive[]>([
prop: 'devChns',
label: '设备通道数',
minWidth: 110,
- render: scope => {
- return String(scope.row.devChns) // 将数字转换为字符串
- },
+
},
{
prop: 'devVolt',
label: '额定电压(V)',
minWidth: 130,
- render: scope => {
- return String(scope.row.devVolt) // 将数字转换为字符串
- },
+
},
{
prop: 'devCurr',
label: '额定电流(A)',
minWidth: 130,
- render: scope => {
- return String(scope.row.devCurr) // 将数字转换为字符串
- },
+
},
{
prop: 'manufacturer',
@@ -155,7 +149,7 @@ const handleDelete = async (params: Device.ResPqDev) => {
}
// 导出设备
-const downloadFile = async (params: Device.ReqPqDevParams) => {
+const downloadFile = async () => {
// 获取当前的搜索参数
const searchParam = proTable.value?.searchParam || {};
diff --git a/frontend/src/views/system/dictionary/dictPq/index.vue b/frontend/src/views/system/dictionary/dictPq/index.vue
index 36c8cd4..91c9b07 100644
--- a/frontend/src/views/system/dictionary/dictPq/index.vue
+++ b/frontend/src/views/system/dictionary/dictPq/index.vue
@@ -148,9 +148,7 @@ const columns = reactive[]>([
prop: 'sort',
label: '排序',
width:70,
- render: scope => {
- return String(scope.row.sort) // 将数字转换为字符串
- },
+
},
{
prop: 'operation',
diff --git a/frontend/src/views/system/dictionary/dictTree/index.vue b/frontend/src/views/system/dictionary/dictTree/index.vue
index 350b29b..fe3af77 100644
--- a/frontend/src/views/system/dictionary/dictTree/index.vue
+++ b/frontend/src/views/system/dictionary/dictTree/index.vue
@@ -56,9 +56,7 @@
prop: 'sort',
label: '排序',
width:70,
- render: scope => {
- return String(scope.row.sort) // 将数字转换为字符串
- },
+
},
{
prop: 'state',
diff --git a/frontend/src/views/system/dictionary/dictType/index.vue b/frontend/src/views/system/dictionary/dictType/index.vue
index 350e5a3..91eb497 100644
--- a/frontend/src/views/system/dictionary/dictType/index.vue
+++ b/frontend/src/views/system/dictionary/dictType/index.vue
@@ -69,9 +69,6 @@ const columns = reactive[]>([
prop: 'sort',
label: '排序',
minWidth: 70,
- render: scope => {
- return String(scope.row.sort) // 将数字转换为字符串
- },
},
{
prop: 'createTime',