xg
“linengliang”
2024-03-13 b9b0777972f6563075a886cbfc58991e51c1a097
xg
已修改7个文件
124 ■■■■ 文件已修改
src/views/eam/FaultInfoList.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/MalfunctionRepair.vue 65 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/QuanlityConfirmList.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/malfunctionRepair/EquipmentList.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/malfunctionRepair/MalfunctionRepaireForm.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/malfunctionRepair/MalfunctionRepaireModal.vue 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/repairorder/moudles/select/FaultReportRepair.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/FaultInfoList.vue
@@ -147,7 +147,7 @@
  import { mixinDevice } from '@/utils/mixin'
  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
  import FaultInfoModal from './modules/FaultInfoModal'
import { putAction } from '../../api/manage'
  import { putAction } from '../../api/manage'
  export default {
    name: 'FaultInfoList',
@@ -158,6 +158,7 @@
    data () {
      return {
        description: '设备事故登记管理页面',
        disableMixinCreated: true,
        // 表头
        columns: [
          {
@@ -396,7 +397,11 @@
      }
    },
    created() {
    this.getSuperFieldList();
    if (this.$route.query) {
      this.queryParam.id = this.$route.query.id;
    }
    this.loadData()
    this.initDictConfig();
    },
    computed: {
      importExcelUrl: function(){
src/views/eam/MalfunctionRepair.vue
@@ -142,10 +142,10 @@
            :md="6"
            :sm="6"
          >
            <a-form-item label="是否停机维修">
            <a-form-item label="是否停机">
              <j-dict-select-tag
                allow-clear
                placeholder="请选择是否停机维修"
                placeholder="请选择是否停机"
                :triggerChange="true"
                dictCode="is_stop"
                v-model="queryParam.isStop"
@@ -234,6 +234,26 @@
        @change="handleTableChange"
        :customRow="clickThenSelect"
      >
      <!-- 点击列跳转到事故登记页 -->
        <template
          slot="accidentRegistrationProgress"
          slot-scope="text, record">
          <a
            v-if="text!==''&&text!==null"
            @click="handleAccidentRegistration(record)">
            {{text=='yes'? '已确认':'未确认'}}
          </a>
        </template>
        <!-- 点击列跳转到质量隐患页 -->
        <template
          slot="qualityHiddenDangerProgress"
          slot-scope="text, record">
          <a
            v-if="text!==''&&text!==null"
            @click="handleQualityHiddenDanger(record)">
            {{text=='yes'? '已确认':'未确认'}}
          </a>
        </template>
        <span
          slot="specificEquipment"
          slot-scope="text"
@@ -507,7 +527,7 @@
          width: 200
        },
        {
          title: '是否停机待修',
          title: '是否停机',
          align: "center",
          dataIndex: 'isStopName',
        },
@@ -534,6 +554,20 @@
          align: "center",
          dataIndex: 'remark'
        },
         //质量隐患确认进度
         {
          title: '质量隐患',
          align: "center",
          dataIndex: 'isConfirm1',
          scopedSlots: { customRender: 'qualityHiddenDangerProgress' }
        },
        //事故登记确认进度
        {
          title: '事故登记',
          align: "center",
          dataIndex: 'isConfirm2',
          scopedSlots: { customRender: 'accidentRegistrationProgress' }
        },
        {
          title: '操作',
          dataIndex: 'action',
@@ -541,7 +575,8 @@
          fixed: "right",
          width: 100,
          scopedSlots: { customRender: 'action' }
        }
        },
      ],
      url: {
        list: "/eam/equipmentReportRepair/getReportRepairList",
@@ -730,7 +765,27 @@
    handleAccept(record) {
      this.$refs.acceptModel.title = "验收"
      this.$refs.acceptModel.edit(record)
    }
    },
    //点击跳转到事故登记页
    handleAccidentRegistration(record) {
      this.$router.push({
        path: '/eam/FaultInfoList',
        query: {
          id: record.faultInfoId,
          num: record.num
        }
      })
    },
    //点击跳转到质量隐患页
    handleQualityHiddenDanger(record) {
      this.$router.push({
        path: '/eam/QuanlityConfirmList',
        query: {
          id: record.quanlityId,
          num: record.num
        }
      })
    },
  }
}
</script>
src/views/eam/QuanlityConfirmList.vue
@@ -205,7 +205,7 @@
  data() {
    return {
      description: '产品质量隐患确认管理页面',
      // 表头
      disableMixinCreated: true,
      columns: [
        {
          title: '#',
@@ -328,7 +328,11 @@
    }
  },
  created() {
    this.getSuperFieldList();
    if (this.$route.query) {
      this.queryParam.id = this.$route.query.id;
    }
    this.loadData()
    this.initDictConfig();
  },
  computed: {
    importExcelUrl: function () {
src/views/eam/modules/malfunctionRepair/EquipmentList.vue
@@ -21,9 +21,9 @@
                :md="6"
                :sm="8"
              >
                <a-form-item label="单据号">
                <a-form-item label="统一编号">
                  <a-input
                    placeholder="请输入单据号检索"
                    placeholder="请输入统一编号"
                    v-model="queryParam.num"
                  ></a-input>
                </a-form-item>
src/views/eam/modules/malfunctionRepair/MalfunctionRepaireForm.vue
@@ -23,7 +23,7 @@
          </a-col>
          <a-col :span="12">
            <a-form-model-item
              label="是否停机维修"
              label="是否停机"
              :labelCol="labelCol"
              :wrapperCol="wrapperCol"
              prop="isStop"
src/views/eam/modules/malfunctionRepair/MalfunctionRepaireModal.vue
@@ -27,13 +27,13 @@
          </a-col>
          <a-col :span="24/2">
            <a-form-item
              label="是否停机维修"
              label="是否停机"
              :labelCol="labelCol"
              :wrapperCol="wrapperCol"
            >
              <j-dict-select-tag
                allow-clear
                :placeholder="disableSubmit?'':'请选择是否停机维修'"
                :placeholder="disableSubmit?'':'请选择是否停机'"
                :triggerChange="true"
                dictCode="is_stop"
                v-decorator="['isStop', validatorRules.isStop]"
@@ -409,21 +409,21 @@
            { min: 1, max: 10, message: '长度不能大于10个字符!' },
          ]
        },
        partNumber: {
          rules: [
            { required: true, message: '请输入零件图号!' },
          ]
        },
        batchNo: {
          rules: [
            { required: true, message: '请输入批次号!' },
          ]
        },
        quantity: {
          rules: [
            { required: true, message: '请输入件数!' },
          ]
        },
        // partNumber: {
        //   rules: [
        //     { required: true, message: '请输入零件图号!' },
        //   ]
        // },
        // batchNo: {
        //   rules: [
        //     { required: true, message: '请输入批次号!' },
        //   ]
        // },
        // quantity: {
        //   rules: [
        //     { required: true, message: '请输入件数!' },
        //   ]
        // },
        type: {
          rules: [
            { required: true, message: '请选择报修类型!' },
src/views/eam/modules/repairorder/moudles/select/FaultReportRepair.vue
@@ -208,7 +208,7 @@
          dataIndex: 'faultTime'
        },
        {
          title: '是否停机待修',
          title: '是否停机',
          align: "center",
          dataIndex: 'isStopName',
        },