From 76c62c0b2813d894a6d6befe8d885b181c82193e Mon Sep 17 00:00:00 2001 From: mhsnet Date: Wed, 3 Apr 2024 14:38:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BA=8F=E5=88=97=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/gw/com/index.ts | 8 ++ src/views/Gw/biLeiQi/BiLeiQi.vue | 7 +- src/views/Gw/biLeiQi/BiLeiQiForm.vue | 90 ++++++++++--------- .../Gw/boxMateQuality/BoxMateQuality.vue | 4 +- .../Gw/boxMateQuality/BoxMateQualityForm.vue | 14 +-- .../Gw/dianLiuHuGanQi/DianLiuHuGanQi.vue | 8 +- .../Gw/dianLiuHuGanQi/DianLiuHuGanQiForm.vue | 13 ++- src/views/Gw/dianRongQi/DianRongQi.vue | 8 +- src/views/Gw/dianRongQi/DianRongQiForm.vue | 13 ++- src/views/Gw/duanLuQi/DuanLuQi.vue | 8 +- src/views/Gw/duanLuQi/DuanLuQiForm.vue | 13 ++- .../FusedIsolationSwitch.vue | 8 +- .../FusedIsolationSwitchForm.vue | 13 ++- .../Gw/langYongBaoHuQi/LangYongBaoHuQi.vue | 8 +- .../langYongBaoHuQi/LangYongBaoHuQiForm.vue | 86 ++++++++++-------- src/views/Gw/muPai/MuPai.vue | 8 +- src/views/Gw/muPai/MuPaiForm.vue | 13 ++- .../ShengYuDianLiuDongZuoBaoHu.vue | 8 +- .../ShengYuDianLiuDongZuoBaoHuForm.vue | 13 ++- 19 files changed, 187 insertions(+), 156 deletions(-) create mode 100644 src/api/gw/com/index.ts diff --git a/src/api/gw/com/index.ts b/src/api/gw/com/index.ts new file mode 100644 index 0000000..8197162 --- /dev/null +++ b/src/api/gw/com/index.ts @@ -0,0 +1,8 @@ +import request from '@/config/axios' + +// 获取系统序列号 +export const getSystemSerialNo = async () => { + return await request.post({ url: `/DistributionBoxTesting/GetSystemSerialNo` }).then((res) => { + return res.SerialNo + }) +} diff --git a/src/views/Gw/biLeiQi/BiLeiQi.vue b/src/views/Gw/biLeiQi/BiLeiQi.vue index 873ccba..cc71320 100644 --- a/src/views/Gw/biLeiQi/BiLeiQi.vue +++ b/src/views/Gw/biLeiQi/BiLeiQi.vue @@ -50,7 +50,7 @@ const gridOptionsA: any = reactive({ { field: 'SupplierCode', title: '国网侧供应商编码', sortable: true, width: '160px' }, { field: 'ModelCode', title: '规格型号编码', width: '140px' }, { field: 'CategoryType', title: '物资种类编码', width: '120px' }, - { field: 'SerialNo', title: '序列号', sortable: true, width: '110px' }, + { field: 'SerialNo', title: '序列号', sortable: true, width: '210px' }, { field: 'RmibNumber', title: '原材料检验批次号', sortable: true, width: '160px' }, { field: 'RmbNumber', title: '原材料批次号', sortable: true, width: '130px' }, { field: 'BorMaterials', title: '原材料品牌', sortable: true, width: '180px' }, @@ -65,7 +65,7 @@ const gridOptionsA: any = reactive({ { field: 'IsQualify', title: '检验结果是否合格', width: '140px', slots: { default: 'slotIsQualify' } }, { field: 'Ecode', title: 'ecode码', width: '110px' }, { field: 'SgEntityId', title: '国网实物Id', width: '110px' }, - { field: 'DataUniqueIdentifier', title: '数据唯一标识', width: '110px' }, + { field: 'DataUniqueIdentifier', title: '数据唯一标识', width: '250px' }, { field: 'ModelSpecification', title: '规格型号', width: '160px' }, { field: 'PressureValue', title: '额定电压(kV)', width: '120px' }, { title: '操作', width: 250, fixed: 'right', slots: { default: 'operate' } } @@ -143,7 +143,6 @@ const gridOptionsA: any = reactive({ if (o1.order == "asc") { isAscending = true; } - console.log(o1) return { "field": o1.field, "isAscending": (() => { @@ -152,7 +151,6 @@ const gridOptionsA: any = reactive({ } }) } - // console.log(queryParams) const data = await BiLeiQiApi.getBiLeiQiPaging(queryParamsA) return data // // 处理排序条件 @@ -172,7 +170,6 @@ const gridOptionsA: any = reactive({ // 当点击工具栏保存按钮或者手动提交指令 save 时会被触发 save: ({ body }:any) => { }, add: ({ body }: any) => { - console.log(body) }, } } diff --git a/src/views/Gw/biLeiQi/BiLeiQiForm.vue b/src/views/Gw/biLeiQi/BiLeiQiForm.vue index 5916e27..f6d1429 100644 --- a/src/views/Gw/biLeiQi/BiLeiQiForm.vue +++ b/src/views/Gw/biLeiQi/BiLeiQiForm.vue @@ -1,5 +1,6 @@ --> - + --> - + --> - + --> - + --> - + --> - + --> - + --> - + --> - + --> - + --> - + --> - +