qushaowei
2023-12-29 e5ea7094423b4d48c080c9f5d135e0e29a8a8a68
src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderModal.vue
@@ -291,10 +291,10 @@
      :scroll="{x:true}"
      :columns="columns"
      :dataSource="dataSource"
      :pagination="ipagination"
      :loading="loading"
      @change="handleTableChange"
      :pagination="false"
    >
      <!-- @change="handleTableChange" -->
      <template
        slot="photo"
        slot-scope="text,record"
@@ -378,11 +378,11 @@
          },
          width: 50,
        },
        {
          title: '部位',
          align: 'center',
          dataIndex: 'location'
        },
        // {
        //   title: '部位',
        //   align: 'center',
        //   dataIndex: 'location'
        // },
        {
          title: '点检项目',
          align: 'center',
@@ -408,12 +408,12 @@
        //   align: 'center',
        //   dataIndex: 'inspectionTool'
        // },
        {
          title: '示意图',
          align: "center",
          dataIndex: 'photo',
          scopedSlots: { customRender: 'photo' },
        },
        // {
        //   title: '示意图',
        //   align: "center",
        //   dataIndex: 'photo',
        //   scopedSlots: { customRender: 'photo' },
        // },
      ],
      title: "操作",
      visible: false,
@@ -436,7 +436,7 @@
      validatorRules: {
        num: {
          rules: [
            { required: true, message: '请输入设备编码!' },
            { required: true, message: '请输入统一编码!' },
          ]
        },
        equipmentId: {
@@ -633,7 +633,7 @@
      this.inspectionStandardId = record.id;
      this.form.setFieldsValue({ inspectionStandardId: record.id, inspectionStandardNum: record.num + "/" + record.version });
      this.form.setFieldsValue({ equipmentId: record.equipmentId, equipmentName: record.equipmentNum + "/" + record.equipmentName });
      this.form.setFieldsValue({ assignMode: record.assignMode, teamId: record.teamId, teamName: record.teamName });
      this.form.setFieldsValue({ assignMode: "1", teamId: record.teamId, teamName: record.teamName });
      this.form.setFieldsValue({ effectiveTime: null, inspectionCycleId: null, unit: null });
      this.getInspectionCycles(record.id)
      if ("3" == record.assignMode) {