Selaa lähdekoodia

设备导入字段调整

shenqilong 4 kuukautta sitten
vanhempi
sitoutus
0fcafed175
2 muutettua tiedostoa jossa 114 lisäystä ja 155 poistoa
  1. 23 23
      src/views/component/device/deviceDialog.vue
  2. 91 132
      src/views/component/device/index.vue

+ 23 - 23
src/views/component/device/deviceDialog.vue

@@ -138,7 +138,7 @@
                                     </el-col>
                                 </el-row>
                                 <el-row :gutter="20">
-                                    <el-col :span="8">
+                                    <el-col :span="8" v-show="false">
                                         <el-form-item
                                             label="设备编号:"
                                             prop="sheBeiShiBieH"
@@ -163,12 +163,12 @@
                                     </el-col>
                                     <el-col :span="8">
                                         <el-form-item
-                                            label="设备编号:"
+                                            label="设备编号:"
                                             prop="yuanSheBeiBian"
                                         >
                                             <template slot="label">
                                                 <span class="required"
-                                                    >设备编号:</span
+                                                    >设备编号:</span
                                                 >
                                             </template>
                                             <el-input
@@ -260,12 +260,12 @@
                                 <el-row :gutter="20">
                                     <el-col :span="8">
                                         <el-form-item
-                                            label="保管人:"
+                                            label="负责人:"
                                             prop="guanLiRen"
                                         >
                                             <template slot="label">
                                                 <span class="required"
-                                                    >保管人:</span
+                                                    >负责人:</span
                                                 >
                                             </template>
                                             <ibps-user-selector
@@ -305,7 +305,7 @@
                                         </el-form-item>
                                     </el-col>
                                     <el-col :span="8">
-                                        <el-form-item label="固定资产号:">
+                                        <el-form-item label="资产号:">
                                             <el-input
                                                 v-model="form.ziChanBianHao"
                                                 size="mini"
@@ -953,7 +953,7 @@
                                                 >
                                                     <el-col>
                                                         <el-form-item
-                                                            label="最近校准时间:"
+                                                            label="上次校准日期:"
                                                         >
                                                             <el-date-picker
                                                                 v-model="
@@ -1056,7 +1056,7 @@
                                                 <el-row>
                                                     <el-col>
                                                         <el-form-item
-                                                            label="技术参数:"
+                                                            label="检定/校准参数:"
                                                         >
                                                             <el-input
                                                                 v-model="
@@ -1075,7 +1075,7 @@
                                                 >
                                                     <el-col>
                                                         <el-form-item
-                                                            label="测量范围:"
+                                                            label="预期测量范围:"
                                                         >
                                                             <el-input
                                                                 v-model="
@@ -1094,7 +1094,7 @@
                                                 >
                                                     <el-col>
                                                         <el-form-item
-                                                            label="U/确度/最大允差:"
+                                                            label="U/确度/最大允差:"
                                                             label-width="130"
                                                         >
                                                             <el-input
@@ -1386,7 +1386,7 @@ export default {
                 cunFangDiDian: "",
                 cunFangWeiZhi: "", // 放置地点
                 jieShouZhuangTai: "", // 接收时状态
-                guanLiRen: "", // 保管
+                guanLiRen: "", // 负责
                 weiHuFangShi: "", // 设备分组
                 bianZhiRen: "", // 建档人
                 bianZhiBuMen: "", // 建档部门
@@ -1411,12 +1411,12 @@ export default {
                 xiaoZhunWuCha: "", // 是否限用
                 xiaoZhunZQ: "", // 检定/校准周期
                 shiYongKeShi: "", // 检定/校准单位
-                yuanSheBeiBian: "", // 设备编号
+                yuanSheBeiBian: "", // 设备编号
                 jianKongYiJu: "", // 是否24H开机
                 biXuDeHuanJin: "", // 核查人
                 biXuSheShi: "", // 核查日期
                 ziChanYuanZhi: "", // 资产原值
-                ziChanBianHao: "", // 固定资产号
+                ziChanBianHao: "", // 资产
                 shiFouWeiHu: "", // 是否维护
                 jiShenXuHao: "", // 出厂编号
                 yanShouRiQi: "", // 验收日期
@@ -1460,17 +1460,17 @@ export default {
                 yuanSheBeiBian: [
                     {
                         required: true,
-                        message: "原设备编号不能为空",
-                        trigger: "blur",
-                    },
-                ],
-                sheBeiLeiXing: [
-                    {
-                        required: true,
-                        message: "设备类型不能为空",
+                        message: "设备编号不能为空",
                         trigger: "blur",
                     },
                 ],
+                // sheBeiLeiXing: [
+                //     {
+                //         required: true,
+                //         message: "设备类型不能为空",
+                //         trigger: "blur",
+                //     },
+                // ],
                 sheBeiZhuangTa: [
                     {
                         required: true,
@@ -1516,7 +1516,7 @@ export default {
                 guanLiRen: [
                     {
                         required: true,
-                        message: "保管人不能为空",
+                        message: "负责人不能为空",
                         trigger: "blur",
                     },
                 ],
@@ -1737,7 +1737,7 @@ export default {
             const { data = [] } = result.variables || {};
             if (data[0].num > 0) {
                 throw new Error(
-                    `系统当前已经存在此设备编号,请更换另一个编号!`
+                    `系统当前已经存在此设备编号,请更换另一个编号!`
                 );
             }
 

+ 91 - 132
src/views/component/device/index.vue

@@ -37,7 +37,7 @@
                         />
                     </template>
 
-                    <template slot="deviceSlot" slot-scope="{ row }">
+                    <!-- <template slot="deviceSlot" slot-scope="{ row }">
                         <ibps-custom-dialog
                             v-model="row.weiHuFangShi"
                             size="mini"
@@ -49,7 +49,7 @@
                             placeholder="请选择"
                             icon="el-icon-search"
                         />
-                    </template>
+                    </template> -->
 
                     <template slot="deviceStateSlot" slot-scope="{ row }">
                         <span>{{
@@ -466,7 +466,7 @@ export default {
     mixins: [FixHeight],
     data () {
         const { userId, position } = this.$store.getters || {}
-        console.log(userId, position)
+        // console.log(userId, position)
 
         return {
             filter: [
@@ -595,7 +595,6 @@ export default {
                         icon: 'ibps-icon-sign-in',
                         type: 'primary'
                     },
-                    // { key: 'customSetting', label: '设置分组配置', icon: 'ibps-icon-cogs', type: 'info' },
                     {
                         key: 'customRemove',
                         label: '删除',
@@ -622,12 +621,6 @@ export default {
                             prop: '',
                             label: '设备编号',
                             fieldType: 'slot',
-                            slotName: 'nowNumber'
-                        },
-                        {
-                            prop: '',
-                            label: '原设备编号',
-                            fieldType: 'slot',
                             slotName: 'preNumber'
                         },
                         {
@@ -636,12 +629,6 @@ export default {
                             fieldType: 'slot',
                             slotName: 'deviceName'
                         },
-                        {
-                            prop: '',
-                            label: '设备类型',
-                            fieldType: 'slot',
-                            slotName: 'deviceType'
-                        },
                         {
                             prop: '',
                             label: '设备状态',
@@ -653,13 +640,6 @@ export default {
                             label: '放置地点',
                             fieldType: 'slot',
                             slotName: 'place'
-                        },
-
-                        {
-                            prop: '',
-                            label: '设备分组',
-                            fieldType: 'slot',
-                            slotName: 'deviceClass'
                         }
                     ]
                 },
@@ -677,14 +657,10 @@ export default {
                         label: '建档时间',
                         sortable: true
                     },
-                    {
-                        prop: 'sheBeiShiBieH',
-                        label: '设备编号',
-                        sortable: true
-                    },
+
                     {
                         prop: 'yuanSheBeiBian',
-                        label: '设备编号',
+                        label: '设备编号',
                         sortable: true
                     },
                     {
@@ -692,11 +668,7 @@ export default {
                         label: '设备名称',
                         sortable: true
                     },
-                    {
-                        prop: 'sheBeiLeiXing',
-                        label: '设备类型',
-                        sortable: true
-                    },
+
                     { prop: 'guiGeXingHao', label: '规格型号', sortable: true },
                     {
                         prop: 'sheBeiZhuangTa',
@@ -706,16 +678,11 @@ export default {
                     },
                     {
                         prop: 'guanLiRen',
-                        label: '保管人',
+                        label: '负责人',
                         slotName: 'userSlot',
                         sortable: true
                     },
-                    {
-                        prop: 'weiHuFangShi',
-                        label: '设备分组',
-                        slotName: 'deviceSlot',
-                        sortable: true
-                    },
+
                     {
                         prop: 'cunFangWeiZhi',
                         label: '放置地点',
@@ -740,47 +707,37 @@ export default {
             deviceColumns: {
                 bianZhiBuMen: '部门',
                 sheBeiMingCheng: '设备名称',
-                // sheBeiShiBieH: '设备编号(导入无需填写)',
-                yuanSheBeiBian: '原设备编号(必填,且不可重复)',
+                yuanSheBeiBian: '设备编号(必填,且不可重复)',
+                ziChanBianHao: '资产编号',
                 sheBeiZhuangTa: '设备状态(正常/停用/限用)',
-                sheBeiLeiXing: '设备类型(检验系统/通用设备/软件/信息系统)',
                 shiFouWeiHu: '是否维护(是/否)',
-                shiFouXiaoZhun: '是否校准(是/否)',
-                weiHuFangShi: '设备分组',
                 guiGeXingHao: '规格型号',
                 cunFangDiDian: '存放地点(格式:房间号+空格+房间名)',
-                guanLiRen: '保管人',
-                ziChanBianHao: '资产编号',
+                guanLiRen: '负责人',
                 shiFouQiJianH: '供应商',
                 lianXiFangShi: '联系方式',
                 changShang: '厂商',
                 jiShenXuHao: '机身序号',
-                zhuCeZhengHao: '注册证号',
+                heChaXiaoZhun: '使用年限(年)',
                 chuChangRiQi: '出厂日期',
-                yanShouRiQi: '验收日期',
                 jieShouRiQi: '接收日期',
-                qiYongRiQi: '投入日期',
-                yiXiaoRiQi: '已校日期',
+                yanShouRiQi: '验收日期',
+                qiYongRiQi: '启用日期',
+                shiFouXiaoZhun: '是否检定/校准(是/否)',
+                yiXiaoRiQi: '上次检定/校准日期',
                 xiaoZhunZQ: '检定/校准周期(以月为单位)',
-                xiaoZhunYouXia: '校准有效期至',
+                xiaoZhunYouXia: '检定/校准有效期至',
                 shiYongKeShi: '检定/校准单位',
-                ceLiangGongZuo: '测量/工作范围',
+                ceLiangGongZuo: '预期测量范围',
+                jianDingXiao: '检定/校准参数',
+                zuiDaYunCha: 'U/准确度/最大允差',
                 huanJingYaoQiu: '环境要求',
                 dianYuanYaoQiu: '电源要求',
                 jieShouZhuangTai: '接收时状态(新设备/二手或翻新设备)',
-                jianDingXiao: '检定/校准参数',
-                zuiDaYunCha: 'U/精确度/最大允差',
-                zhengShuBianHa: '证书编号',
-                xiuZhengZhiXiu: '修正值/修正因子',
-                wenDuYingYong: '温度应用修正值',
-                shiDuYingYong: '湿度应用修正值',
-                biXuDeHuanJin: '核查人',
-                biXuSheShi: '核查日期',
-                heChaXiaoZhun: '使用年限(年)',
-                jiShuCanShu: '计算参数'
+                zhengShuBianHa: '检定/校准证书编号'
             },
             projectColums: {
-                yuanSheBeiBian: '设备编号*',
+                yuanSheBeiBian: '设备编号*',
                 sheBeiMingCheng: '设备名称*',
                 weiHuLeiXing:
                     '维护类型*(日保养/周保养/月保养/季度保养/半年保养/年保养/按需保养)',
@@ -799,9 +756,9 @@ export default {
             requiredFieldMap: {
                 bianZhiBuMen: '部门',
                 sheBeiMingCheng: '设备名称',
-                yuanSheBeiBian: '设备编号',
+                yuanSheBeiBian: '设备编号',
                 sheBeiZhuangTa: '设备状态',
-                sheBeiLeiXing: '设备类型',
+                // sheBeiLeiXing: '设备类型',
                 shiFouWeiHu: '是否维护',
                 shiFouXiaoZhun: '是否校准'
             },
@@ -841,7 +798,7 @@ export default {
                 heChaXiaoZhun: '使用年限(年)'
             },
             maintenanceRequiredFieldMap: {
-                yuanSheBeiBian: '设备编号',
+                yuanSheBeiBian: '设备编号',
                 sheBeiMingCheng: '设备名称',
                 weiHuLeiXing: '维护类型',
                 weiHuRiQi: '维护日期',
@@ -876,7 +833,7 @@ export default {
     async mounted () {
         const stateList = await getSetting('device', 'stateList')
         if (stateList) {
-            console.debug(stateList)
+            // console.debug(stateList)
             this.stateList = stateList
         }
         this.getDatas()
@@ -940,7 +897,7 @@ export default {
                 })
                 parameters.parameters.push(obj)
             }
-            // 设备编号搜索
+            // 设备编号搜索
             if (this.search.preNumber) {
                 const obj = { relation: 'AND', parameters: [] }
                 obj.parameters.push({
@@ -990,7 +947,7 @@ export default {
                 })
                 parameters.parameters.push(obj)
             }
-            // 保管人搜索(可多选)
+            // 负责人搜索(可多选)
             if (this.search.managePeople) {
                 const obj = { relation: 'OR', parameters: [] }
                 this.search.managePeople.split(',').forEach((item) => {
@@ -1130,7 +1087,7 @@ export default {
             this.getDatas()
         },
         goEdit (row) {
-            console.log('aa')
+            // console.log('aa')
 
             this.params = row
             this.deviceDialogShow = true
@@ -1139,7 +1096,7 @@ export default {
             this.customDialogVisible = true
         },
         handleCustomRemove (selection) {
-            console.log('selection', selection)
+            // console.log('selection', selection)
             if (!selection || selection.length === 0) {
                 return this.$message.warning('请选择要删除的数据!')
             }
@@ -1219,12 +1176,12 @@ export default {
         // 导入设备
         ImportDevice () {
             this.$refs.file1.click()
-            console.log('导入设备')
+            // console.log('导入设备')
         },
         // 导入维护项目
         ImportProject () {
             this.$refs.file2.click()
-            console.log('导入维护项目')
+            // console.log('导入维护项目')
         },
         getTimeStamp () {
             return dayjs().format('YYYYMMDDHHmmss')
@@ -1294,13 +1251,13 @@ export default {
                 item.guanLiRen = this.switchIdToUserName(
                     item.guanLiRen.split(',')[0]
                 )
-                item.biXuDeHuanJin = this.switchIdToUserName(
-                    item.biXuDeHuanJin.split(',')[0]
-                )
-                item.weiHuFangShi = this.switchDeviceIdToName(
-                    item.weiHuFangShi,
-                    deviceGroupData
-                )
+                // item.biXuDeHuanJin = this.switchIdToUserName(
+                //     item.biXuDeHuanJin.split(',')[0]
+                // )
+                // item.weiHuFangShi = this.switchDeviceIdToName(
+                //     item.weiHuFangShi,
+                //     deviceGroupData
+                // )
                 // item.shiYongKeShi = this.switchGYSIdToName(item.shiYongKeShi, gysData)
                 if (this.stateList[item.sheBeiZhuangTa]) {
                     item.sheBeiZhuangTa = this.stateList[item.sheBeiZhuangTa]
@@ -1364,7 +1321,7 @@ export default {
         // 导出维护项目
         async ExportProject (selection = []) {
             let exportData = []
-            console.log('导出维护项目')
+            // console.log('导出维护项目')
             if (selection.length > 0) {
                 const sql = `select b.yuan_she_bei_bian as yuanSheBeiBian,b.she_bei_ming_cheng_ as sheBeiMingCheng,a.parent_id_,a.wei_hu_xiang_mu_c as weiHuXiangMuC,a.wei_hu_ri_qi_ as weiHuRiQi,a.wei_hu_lei_xing_ as weiHuLeiXing,a.ri_qi_shu_zi_ as riQiShuZi from t_whzqjxm a,t_sbdj b where a.parent_id_=b.id_ and a.parent_id_ in (${selection
                     .map((i) => `'${i}'`)
@@ -1432,7 +1389,7 @@ export default {
                         item.weiHuLeiXing === '按需保养' &&
                         field === 'weiHuRiQi'
                     ) {
-                        console.log('按需pass1')
+                        // console.log('按需pass1')
                     } else {
                         if (!item[field]) {
                             invalidFieldNames.push(name)
@@ -1454,12 +1411,12 @@ export default {
             if (allResult.length < 1) {
                 return
             }
-            console.log(
-                '%c Msg Obj %c',
-                'background:#FF5733; padding: 1px; border-radius: 0 3px 3px 0; color: #fff;',
-                'background:transparent',
-                allResult
-            )
+            // console.log(
+            //     '%c Msg Obj %c',
+            //     'background:#FF5733; padding: 1px; border-radius: 0 3px 3px 0; color: #fff;',
+            //     'background:transparent',
+            //     allResult
+            // )
             const item = allResult[0]
             switch (mark) {
                 case 'required':
@@ -1520,7 +1477,7 @@ export default {
                 const row = list[i]
                 for (const field in this.dateFieldsMap) {
                     if (row[field] && !dateRegex.test(row[field])) {
-                        console.error('error field:', row[field])
+                        // console.error('error field:', row[field])
                         return [
                             { row: i + 2, field: this.dateFieldsMap[field] }
                         ]
@@ -1544,7 +1501,7 @@ export default {
                 if (indices.length > 1) {
                     return [
                         {
-                            field: `发现重复的设备编号:${key} 在第 ${indices.join(
+                            field: `发现重复的设备编号:${key} 在第 ${indices.join(
                                 ', '
                             )} 行`
                         }
@@ -1580,7 +1537,7 @@ export default {
                 this.sendWarningMessages(dateResult, 'dateFormat')
                 return false
             }
-            // 校验是否存在重复的设备编号
+            // 校验是否存在重复的设备编号
             const duplicateOriginalDeviceResult =
                 this.checkDuplicateOriginalDeviceNo(data)
             if (duplicateOriginalDeviceResult.length > 0) {
@@ -1620,7 +1577,7 @@ export default {
             })
         },
         /**
-         * 过滤出来excel 的设备编号存在当前数据库中的数据
+         * 过滤出来excel 的设备编号存在当前数据库中的数据
          * @param {*} list 导入的数据
          */
         async filterOriginalDeviceNo (list) {
@@ -1660,6 +1617,7 @@ export default {
             deptList
         ) {
             // 使用map生成一个异步操作的数组
+
             const promises = list.map(async (element) => {
                 element.bianZhiShiJian = currentTime
                 element.bianZhiRen = currentUser
@@ -1693,7 +1651,7 @@ export default {
             // this.handleSupplierInfo(list, supplierList)
             this.handlePositionInfo(list, positionList)
             this.handlePersonInfo(list, employeeList)
-            this.handleDeviceGroupInfo(list, deviceGroupList)
+            // this.handleDeviceGroupInfo(list, deviceGroupList)
         },
         /**
          *
@@ -1759,7 +1717,7 @@ export default {
         },
         handlePersonInfo (list, employeeList) {
             list.forEach((element) => {
-                // 处理保管
+                // 处理负责
                 if (element.guanLiRen !== '') {
                     const person = employeeList.find(
                         (i) => i.userName === element.guanLiRen.trim()
@@ -1774,36 +1732,36 @@ export default {
                     element.guanLiRen = ''
                 }
                 // 处理核查人
-                if (element.biXuDeHuanJin !== '') {
-                    const checkPerson = employeeList.find(
-                        (i) => i.userName === element.biXuDeHuanJin.trim()
-                    )
-                    if (checkPerson) {
-                        const checkPersonId = checkPerson.userId
-                        element.biXuDeHuanJin = checkPersonId
-                    } else {
-                        element.biXuDeHuanJin = ''
-                    }
-                } else {
-                    element.biXuDeHuanJin = ''
-                }
-            })
-        },
-        handleDeviceGroupInfo (list, deviceGroupList) {
-            list.forEach((element) => {
-                const result = []
-                const { weiHuFangShi } = element
-                const valList = weiHuFangShi.trim()?.split(',')
-                valList.forEach((item) =>
-                    result.push(
-                        deviceGroupList?.find(
-                            (i) => i.wei_hu_gang_wei_ === item
-                        )?.id_ || ''
-                    )
-                )
-                element.weiHuFangShi = result.join(',')
+                // if (element.biXuDeHuanJin !== '') {
+                //     const checkPerson = employeeList.find(
+                //         (i) => i.userName === element.biXuDeHuanJin.trim()
+                //     )
+                //     if (checkPerson) {
+                //         const checkPersonId = checkPerson.userId
+                //         element.biXuDeHuanJin = checkPersonId
+                //     } else {
+                //         element.biXuDeHuanJin = ''
+                //     }
+                // } else {
+                //     element.biXuDeHuanJin = ''
+                // }
             })
         },
+        // handleDeviceGroupInfo (list, deviceGroupList) {
+        //     list.forEach((element) => {
+        //         const result = []
+        //         const { weiHuFangShi } = element
+        //         const valList = weiHuFangShi.trim()?.split(',')
+        //         valList.forEach((item) =>
+        //             result.push(
+        //                 deviceGroupList?.find(
+        //                     (i) => i.wei_hu_gang_wei_ === item
+        //                 )?.id_ || ''
+        //             )
+        //         )
+        //         element.weiHuFangShi = result.join(',')
+        //     })
+        // },
         async handleUploadChange1 (file) {
             const dataBinary = await this.readFile(file.target.files[0])
             file.target.value = null // 注意上传后要将input的值设为空
@@ -1848,7 +1806,7 @@ export default {
                     const { data: positionList = [] } = res1.variables || {}
                     // const { data: supplierList = [] } = res2.variables || {}
                     const { data: deviceGroupList = [] } = res3.variables || {}
-                    // 根据设备编号去重,检验设备编号是否在数据库中存在
+                    // 根据设备编号去重,检验设备编号是否在数据库中存在
                     const originalDeviceNoList =
                         await this.filterOriginalDeviceNo(importData)
                     await this.handleBasicData(
@@ -1864,6 +1822,7 @@ export default {
                         userList,
                         deviceGroupList
                     )
+
                     // 分离出 已存在的设备,和新设备
                     const newDeviceList = importData.filter(
                         (i) =>
@@ -1922,7 +1881,7 @@ export default {
                 allRequests.push(saveEquipmentCard(params))
             }
             // 等待所有异步请求完成
-            console.log(allRequests, '000')
+            // console.log(allRequests, '000')
 
             await Promise.all(allRequests)
             this.loading = false
@@ -2007,7 +1966,7 @@ export default {
             list.forEach(
                 ({ weiHuLeiXing: type, weiHuRiQi: exactDate }, index) => {
                     if (type === '按需保养') {
-                        console.log('按需pass2')
+                        // console.log('按需pass2')
                     } else {
                         if (!rules[type].includes(exactDate)) {
                             msgList.push({
@@ -2031,7 +1990,7 @@ export default {
             const workSheet = workBook.Sheets[workBook.SheetNames[0]]
             const data = xlsx.utils.sheet_to_json(workSheet)
             const importData = this.switchDeviceObj(data, this.projectColums)
-            console.log(importData)
+            // console.log(importData)
             importData.forEach((item) => {
                 if (item.weiHuLeiXing === '按需保养') {
                     item.weiHuRiQi = '/'
@@ -2050,7 +2009,7 @@ export default {
                 this.maintenanceInvalidPartOne(importData)
             if (!partOneInvalidResult) return
 
-            // 2、根据设备编号去重,检验设备编号是否在数据库中存在,如有不存在的数据,不进行导入,并提示用户
+            // 2、根据设备编号去重,检验设备编号是否在数据库中存在,如有不存在的数据,不进行导入,并提示用户
             const uniqueArr = Array.from(
                 new Set(importData.map((i) => i.yuanSheBeiBian.trim()))
             )
@@ -2060,7 +2019,7 @@ export default {
             )}')`
             this.$common.request('sql', sql).then(async (res) => {
                 const deviceNoWithIdlist = res.variables.data
-                console.log(deviceNoWithIdlist, ' <=> ', uniqueArr)
+                // console.log(deviceNoWithIdlist, ' <=> ', uniqueArr)
                 const deviceNoSet = new Set(
                     deviceNoWithIdlist.map((i) => i.yuan_she_bei_bian)
                 )
@@ -2069,7 +2028,7 @@ export default {
                     ''
                 if (missStr !== '') {
                     this.$message.error(
-                        `设备维护项目数据中包含不存在于设备档案的设备编号!具体设备编号为:${missStr}`
+                        `设备维护项目数据中包含不存在于设备档案的设备编号!具体设备编号为:${missStr}`
                     )
                     return
                 }
@@ -2138,7 +2097,7 @@ export default {
                         maintenanceItemPoList: temp
                     }
                 }
-                console.log('params', params)
+                // console.log('params', params)
                 allRequests.push(saveEquipmentCard(params))
             })
             await Promise.all(allRequests)