qushaowei
2024-01-12 2b4abfa6fc83152b800a7696636fe682b7ec6cbf
问题项修改
已添加1个文件
已修改17个文件
958 ■■■■ 文件已修改
src/views/eam/DailyInspectionStandardList.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/DailyMaintenanceStandard3List.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/DailyMaintenanceStandardList.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/daily3MaintenanceOrder/Maintenance3ReceiptModal.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/daily3MaintenanceOrder/TechnologyStatusAuthenticateModal.vue 207 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/dailyInspectionStandard/DailyInspectionStandardDetail.vue 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue 40 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/dailyInspectionStandard/EquipmentList.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/dailyMaintenanceOrder/MaintenanceOrderModal.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/dailyMaintenanceStandard3/DailyMaintenanceStandardDetail.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/dailyMaintenanceStandard3/DailyMaintenanceStandardModal.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/dailyMaintenanceStandard3/EquipmentList.vue 314 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/equipmentCalibrationOrder/TechnologyStatusAuthenticateModal.vue 202 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/equipmentNew/EquipmentPrecisionParametersList.vue 58 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanForm.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/maintenancePlan/StandardSelect.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/precisionParametersTemplate/PrecisionParametersTemplateEditForm.vue 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/DailyInspectionStandardList.vue
@@ -278,6 +278,11 @@
          dataIndex: 'num',
        },
        {
          title: '管理制度',
          align: 'center',
          dataIndex: 'disUda1',
        },
        {
          title: '签审状态',
          align: 'center',
          dataIndex: 'approvalStatusName',
src/views/eam/DailyMaintenanceStandard3List.vue
@@ -28,10 +28,10 @@
            :md='8'
            :sm='24'
          >
            <a-form-item label='设备名称'>
            <a-form-item label='统一编号'>
              <a-input
                placeholder='请输入设备名称'
                v-model='queryParam.name'
                placeholder='请输入统一编号'
                v-model='queryParam.equipmentNum'
              ></a-input>
            </a-form-item>
          </a-col>
src/views/eam/DailyMaintenanceStandardList.vue
@@ -28,10 +28,10 @@
            :md='8'
            :sm='24'
          >
            <a-form-item label='设备名称'>
            <a-form-item label='统一编号'>
              <a-input
                placeholder='请输入设备名称'
                v-model='queryParam.name'
                placeholder='请输入统一编号'
                v-model='queryParam.equipmentNum'
              ></a-input>
            </a-form-item>
          </a-col>
src/views/eam/modules/daily3MaintenanceOrder/Maintenance3ReceiptModal.vue
@@ -288,7 +288,6 @@
    edit(record) {
      let that = this;
      debugger
      if (record.receipts == "" || record.receipts == null) {
        this.getSysFileName()
      }
@@ -323,6 +322,13 @@
      const that = this;
      // è§¦å‘表单验证
      for (let i = 0; i < that.dataSource.length; i++) {
        let o = that.dataSource[i]
        if (o.firstInspect == "2" && o.secondInspect == "2") {
          that.$message.warning("验收单第" + (i + 1) + "行,两次检验均为不通过,请重新检验该项保养内容!");
          return
        }
      }
      that.form.validateFields((err, values) => {
        if (!err) {
          this.$confirm({
src/views/eam/modules/daily3MaintenanceOrder/TechnologyStatusAuthenticateModal.vue
@@ -1,6 +1,6 @@
<template>
  <a-modal
    :width="800"
    :width="1000"
    :visible="visible"
    :maskClosable="false"
    @ok="handleOk"
@@ -79,173 +79,240 @@
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >检查部位</span>
      </div>
      <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >检查标准</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >检查结果(合格/不合格)</span>
        >有无此项</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >检查结果</span>
      </div>
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >操纵手柄及开关</span>
      </div>
      <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >安全、无破损</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="有"
          un-checked-children="没有"
          :checked="model.result_8 == '0'"
          @change="handle8Switch(model.result_8)"
        />
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="合格"
          un-checked-children="不合格"
          :checked="model.result_1 == '0'"
          @change="handleSwitch(model.result_1)"
          :hidden="model.hidden1Switch"
        />
      </div>
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >传动系统</span>
      </div>
      <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >灵活、无异响</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="有"
          un-checked-children="没有"
          :checked="model.result_9 == '0'"
          @change="handle9Switch(model.result_9)"
        />
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="合格"
          un-checked-children="不合格"
          :checked="model.result_2 == '0'"
          @change="handle2Switch(model.result_2)"
          :hidden="model.hidden2Switch"
        />
      </div>
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >安全装置</span>
      </div>
      <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >安全、灵敏、可靠</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="有"
          un-checked-children="没有"
          :checked="model.result_10 == '0'"
          @change="handle10Switch(model.result_10)"
        />
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="合格"
          un-checked-children="不合格"
          :checked="model.result_3 == '0'"
          @change="handle3Switch(model.result_3)"
          :hidden="model.hidden3Switch"
        />
      </div>
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >设备外观</span>
      </div>
      <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >整洁</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="有"
          un-checked-children="没有"
          :checked="model.result_11 == '0'"
          @change="handle11Switch(model.result_11)"
        />
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="合格"
          un-checked-children="不合格"
          :checked="model.result_4 == '0'"
          @change="handle4Switch(model.result_4)"
          :hidden="model.hidden4Switch"
        />
      </div>
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >电气线路</span>
      </div>
      <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >线路整齐、接线正确</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="有"
          un-checked-children="没有"
          :checked="model.result_12 == '0'"
          @change="handle12Switch(model.result_12)"
        />
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="合格"
          un-checked-children="不合格"
          :checked="model.result_5 == '0'"
          @change="handle5Switch(model.result_5)"
          :hidden="model.hidden5Switch"
        />
      </div>
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >检查各紧固装置</span>
      </div>
      <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >无松动</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="有"
          un-checked-children="没有"
          :checked="model.result_13 == '0'"
          @change="handle13Switch(model.result_13)"
        />
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="合格"
          un-checked-children="不合格"
          :checked="model.result_6 == '0'"
          @change="handle6Switch(model.result_6)"
          :hidden="model.hidden6Switch"
        />
      </div>
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '70%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '50%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;float: center"
        >是否满足生产加工要求</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="有"
          un-checked-children="没有"
          :checked="model.result_14 == '0'"
          @change="handle14Switch(model.result_14)"
        />
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="合格"
          un-checked-children="不合格"
          :checked="model.result_7 == '0'"
          @change="handle7Switch(model.result_7)"
          :hidden="model.hidden7Switch"
        />
      </div>
    </div>
@@ -360,13 +427,6 @@
      },
      confirmLoading: false,
      form: this.$form.createForm(this),
      validatorRules: {
        num: {
          rules: [
            { required: true, message: '请输入保养工单编码!' },
          ]
        },
      },
      url: {
        add: "/eam/technologyStatus/technologyStatusAuthenticate",
        getTechnologyStatus: "/eam/technologyStatus/getTechnologyStatus",
@@ -532,6 +592,85 @@
      this.model = Object.assign({}, this.model);
    },
    handle8Switch(result_8) {
      if ('0' == result_8) {
        this.model.result_8 = '1'
        this.model.hidden1Switch = true
      } else {
        this.model.result_8 = '0'
        this.model.hidden1Switch = false
      }
      this.model = Object.assign({}, this.model);
    },
    handle9Switch(result_9) {
      if ('0' == result_9) {
        this.model.result_9 = '1'
        this.model.hidden2Switch = true
      } else {
        this.model.result_9 = '0'
        this.model.hidden2Switch = false
      }
      this.model = Object.assign({}, this.model);
    },
    handle10Switch(result_10) {
      if ('0' == result_10) {
        this.model.result_10 = '1'
        this.model.hidden3Switch = true
      } else {
        this.model.result_10 = '0'
        this.model.hidden3Switch = false
      }
      this.model = Object.assign({}, this.model);
    },
    handle11Switch(result_11) {
      if ('0' == result_11) {
        this.model.result_11 = '1'
        this.model.hidden4Switch = true
      } else {
        this.model.result_11 = '0'
        this.model.hidden4Switch = false
      }
      this.model = Object.assign({}, this.model);
    },
    handle12Switch(result_12) {
      if ('0' == result_12) {
        this.model.result_12 = '1'
        this.model.hidden5Switch = true
      } else {
        this.model.result_12 = '0'
        this.model.hidden5Switch = false
      }
      this.model = Object.assign({}, this.model);
    },
    handle13Switch(result_13) {
      if ('0' == result_13) {
        this.model.result_13 = '1'
        this.model.hidden6Switch = true
      } else {
        this.model.result_13 = '0'
        this.model.hidden6Switch = false
      }
      this.model = Object.assign({}, this.model);
    },
    handle14Switch(result_14) {
      if ('0' == result_14) {
        this.model.result_14 = '1'
        this.model.hidden7Switch = true
      } else {
        this.model.result_14 = '0'
        this.model.hidden7Switch = false
      }
      this.model = Object.assign({}, this.model);
    },
    // handle21Switch(result_21) {
src/views/eam/modules/dailyInspectionStandard/DailyInspectionStandardDetail.vue
@@ -104,11 +104,11 @@
            return parseInt(index) + 1;
          }
        },
        {
          title: '部位',
          align: "center",
          dataIndex: 'location',
        },
        // {
        //   title: '部位',
        //   align: "center",
        //   dataIndex: 'location',
        // },
        // {
        //   title: '示意图',
        //   align: "center",
@@ -122,7 +122,7 @@
        },
        {
          title: '检测标准',
          title: '完成数据/要求',
          align: "center",
          dataIndex: 'detectionStandard',
@@ -154,6 +154,18 @@
      url: {
        list: "/eam/inspectionStandardDetail/getInspectionStandardList",//数据来源mom_eam_daily_inspection_standard_detail
      },
      /* åˆ†é¡µå‚æ•° */
      ipagination: {
        current: 1,
        pageSize: 20,
        pageSizeOptions: ['5', '10', '20', '50'],
        showTotal: (total, range) => {
          return range[0] + '-' + range[1] + ' å…±' + total + '条'
        },
        showQuickJumper: true,
        showSizeChanger: true,
        total: 0
      },
    }
  },
  created() {
src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue
@@ -129,22 +129,20 @@
          </a-col> -->
        </a-row>
        <a-row :gutter="24">
          <!-- <a-col :span="12">
          <a-col :span="12">
            <a-form-item
              label="派工方式"
              label="管理制度"
              :labelCol="labelCol"
              :wrapperCol="wrapperCol"
            >
              <j-dict-select-tag
              <a-input
                allow-clear
                :disabled="disableSubmit"
                :placeholder="disableSubmit?'':'请选择派工方式'"
                :triggerChange="true"
                dictCode="assign_mode"
                v-decorator="['assignMode', validatorRules.assignMode]"
                :disabled="false"
                :placeholder="disableSubmit?'':'请输入管理制度'"
                v-decorator="['disUda1', validatorRules.disUda1 ]"
              />
            </a-form-item>
          </a-col> -->
          </a-col>
          <a-col :span="12">
            <a-form-item
              label="版本"
@@ -326,7 +324,7 @@
          dataIndex: 'name'
        },
        {
          title: '检测标准',
          title: '完成数据/要求',
          align: 'center',
          dataIndex: 'detectionStandard'
        },
@@ -350,7 +348,6 @@
          align: 'center',
          dataIndex: 'inspectionCycleId',
          scopedSlots: { customRender: 'inspectionCycleId' },
          width: 170,
        },
        // {
        //   title: '示意图',
@@ -359,13 +356,13 @@
        //   scopedSlots: { customRender: 'photo' },
        //   width: 170,
        // },
        {
          title: '部位',
          align: 'center',
          dataIndex: 'location',
          scopedSlots: { customRender: 'location' },
          width: 170,
        },
        // {
        //   title: '部位',
        //   align: 'center',
        //   dataIndex: 'location',
        //   scopedSlots: { customRender: 'location' },
        //   width: 170,
        // },
        {
          title: '操作',
          align: 'center',
@@ -418,6 +415,11 @@
        historyVersion: {
          rules: [
            { required: true, message: '请输入历史版本!' },
          ]
        },
        disUda1: {
          rules: [
            { required: true, message: '请输入管理制度!' },
          ]
        },
      },
@@ -485,7 +487,7 @@
        that.dataSource = temp;
      }
      that.$nextTick(() => {
        that.form.setFieldsValue(pick(that.model, 'num', 'equipmentId', 'equipmentName', 'useDepartName', 'useId', 'teamName', 'assignMode', 'version', 'remark'));
        that.form.setFieldsValue(pick(that.model, 'num', 'equipmentId', 'equipmentName', 'useDepartName', 'disUda1', 'useId', 'teamName', 'assignMode', 'version', 'remark'));
      });
      if (record.id) {
        that.codeDisable = true;
src/views/eam/modules/dailyInspectionStandard/EquipmentList.vue
@@ -170,7 +170,7 @@
        },
      ],
      url: {
        list: "/eam/equipment/getEquipmentList",
        list: "/eam/equipment/showEquipmentList",
      },
    }
  },
src/views/eam/modules/dailyMaintenanceOrder/MaintenanceOrderModal.vue
@@ -646,7 +646,7 @@
      //   return
      // }
      this.$refs.DailyMaintenanceStandardList.list(data.useId);
      this.$refs.DailyMaintenanceStandardList.title = "选择日常保养标准";
      this.$refs.DailyMaintenanceStandardList.title = "选择二级保养标准";
    },
    sendMaintenanceStandardRecord(data) {
      let record = data.record;
src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue
@@ -195,6 +195,18 @@
      url: {
        list: "/eam/maintenanceStandardDetail/getMaintenanceStandardList",//数据来源mom_eam_daily_inspection_standard_detail
      },
      /* åˆ†é¡µå‚æ•° */
      ipagination: {
        current: 1,
        pageSize: 20,
        pageSizeOptions: ['5', '10', '20', '50'],
        showTotal: (total, range) => {
          return range[0] + '-' + range[1] + ' å…±' + total + '条'
        },
        showQuickJumper: true,
        showSizeChanger: true,
        total: 0
      },
    }
  },
  created() {
src/views/eam/modules/dailyMaintenanceStandard3/DailyMaintenanceStandardDetail.vue
@@ -194,6 +194,18 @@
      url: {
        list: "/eam/maintenanceStandardDetail/getMaintenanceStandardList",//数据来源mom_eam_daily_inspection_standard_detail
      },
      /* åˆ†é¡µå‚æ•° */
      ipagination: {
        current: 1,
        pageSize: 20,
        pageSizeOptions: ['5', '10', '20', '50'],
        showTotal: (total, range) => {
          return range[0] + '-' + range[1] + ' å…±' + total + '条'
        },
        showQuickJumper: true,
        showSizeChanger: true,
        total: 0
      },
    }
  },
  created() {
src/views/eam/modules/dailyMaintenanceStandard3/DailyMaintenanceStandardModal.vue
@@ -404,7 +404,7 @@
import Vue from 'vue'
import PdfView from '@views/common/PdfView'
import { getFileAccessHttpUrl } from '@/api/manage';
import EquipmentList from '.././dailyInspectionStandard/EquipmentList'
import EquipmentList from './EquipmentList'
import DepartList from '.././dailyInspectionStandard/DepartList'
export default {
src/views/eam/modules/dailyMaintenanceStandard3/EquipmentList.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,314 @@
<template>
  <a-modal
    :title="title"
    :width="1250"
    :visible="visible"
    :confirmLoading="confirmLoading"
    :okButtonProps="{ props: {disabled: disableSubmit} }"
    @ok="handleOk"
    @cancel="handleCancel"
    cancelText="关闭"
  >
    <a-spin :spinning="confirmLoading">
      <a-form :form="form">
        <div class="table-page-search-wrapper">
          <a-form
            layout="inline"
            @keyup.enter.native="searchQuery"
          >
            <a-row :gutter="24">
              <a-col
                :md="6"
                :sm="8"
              >
                <a-form-item label="统一编码">
                  <a-input
                    placeholder="请输入统一编码检索"
                    v-model="queryParam.num"
                  ></a-input>
                </a-form-item>
              </a-col>
              <a-col
                :md="6"
                :sm="8"
              >
                <a-form-item label="设备名称">
                  <a-input
                    placeholder="请输入设备名称检索"
                    v-model="queryParam.name"
                  ></a-input>
                </a-form-item>
              </a-col>
              <a-col
                :md="6"
                :sm="8"
              >
                <a-button
                  type="primary"
                  @click="searchQuery"
                  icon="search"
                >查询</a-button>
                <a-button
                  @click="searchReset"
                  icon="reload"
                  style="margin-left:8px;"
                >重置</a-button>
              </a-col>
            </a-row>
            <a-row :gutter="24">
              <a-col :span="24">
              </a-col>
            </a-row>
          </a-form>
        </div>
        <div style="margin-top:8px;">
          <a-table
            ref="table"
            size="middle"
            bordered
            rowKey="id"
            :columns="columns"
            :dataSource="dataSource"
            :pagination="ipagination"
            :loading="loading"
            @change="handleTableChange"
            :customRow="clickThenCheck"
            :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange,type:type}"
          >
          </a-table>
        </div>
      </a-form>
    </a-spin>
  </a-modal>
</template>
<script>
import { postAction, getAction } from '@/api/manage'
import JDate from '@/components/jeecg/JDate'
import Tooltip from 'ant-design-vue/es/tooltip'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import JEllipsis from '@/components/jeecg/JEllipsis'//引入过长裁剪
import store from '@/store'
export default {
  name: "EquipmentList",
  mixins: [JeecgListMixin],
  components: {
    JDate,
    Tooltip,
    JEllipsis,
  },
  data() {
    return {
      title: "设备信息",
      visible: false,
      model: {},
      dataSource: [],
      disableSubmit: false,
      type: "radio",
      /* åˆ†é¡µå‚æ•° */
      ipagination: {
        current: 1,
        pageSize: 10,
        pageSizeOptions: ['10', '20', '30'],
        showTotal: (total, range) => {
          return range[0] + "-" + range[1] + " å…±" + total + "条"
        },
        showQuickJumper: true,
        showSizeChanger: true,
        total: 0
      },
      labelCol: {
        xs: { span: 24 },
        sm: { span: 6 },
      },
      wrapperCol: {
        xs: { span: 24 },
        sm: { span: 18 },
      },
      confirmLoading: false,
      form: this.$form.createForm(this),
      columns: [
        {
          title: '#',
          dataIndex: '',
          key: 'rowIndex',
          align: 'center',
          customRender: function (t, r, index) {
            return parseInt(index) + 1
          }
        },
        {
          title: '统一编码',
          align: 'center',
          dataIndex: 'num',
        },
        {
          title: '设备名称',
          align: 'center',
          dataIndex: 'name',
        },
        {
          title: '设备型号',
          align: "center",
          dataIndex: 'model'
        },
        {
          title: '设备规格',
          align: "center",
          dataIndex: 'specification'
        },
        {
          title: '设备状态',
          align: "center",
          dataIndex: 'equipmentStatus_dictText'
        },
      ],
      url: {
        list: "/eam/equipment/findEquipmentList",
      },
    }
  },
  methods: {
    searchQuery() {
      this.loadData(1);
    },
    searchReset() {
      this.queryParam = { equipmentStatus: '1' };
      this.loadData(1)
    },
    list(params) {
      this.selectedRowKeys = [];
      this.selectedRowRecord = [];
      this.visible = true;
      if (params == null || params == "") {
        this.queryParam.useId = ""
      } else {
        this.queryParam.useId = params
      }
      this.queryParam.equipmentStatus = '1'
      this.loadData(1);
    },
    clickThenCheck(record) {
      return {
        on: {
          click: (e) => {
            this.selectedRowRecord = record;
            this.onSelectChange(record.id.split(","), [record]);
          }
        }
      };
    },
    onSelectChange(selectedRowKeys, selectedRows) {
      this.selectedRowKeys = selectedRowKeys;
      this.selectedRowRecord = selectedRows[0];
    },
    close() {
      this.queryParam = {};
      this.$emit('close');
      this.visible = false;
    },
    handleOk() {
      const that = this;
      // è§¦å‘表单验证
      if (that.selectedRowKeys.length > 0) {
        if (that.selectedRowRecord.id != null && that.selectedRowRecord.id != "") {
          that.$emit('sendEquipmentRecord', { record: that.selectedRowRecord });
          that.close();
        } else {
          that.$message.error("请选择设备信息!")
        }
      } else {
        that.$message.error("请选择设备信息!")
      }
    },
    handleCancel() {
      this.close();
    },
  },
}
</script>
<style scoped>
.ant-btn {
  padding: 0 10px;
  margin-left: 3px;
}
.ant-form-item-control {
  line-height: 0px;
}
.fontweight {
  font-weight: bold;
}
/** ä¸»è¡¨å•行间距 */
.ant-form .ant-form-item {
  margin-bottom: 10px;
}
/** Tab页面行间距 */
.ant-tabs-content .ant-form-item {
  margin-bottom: 0px;
}
.ant-table-tbody .ant-table-row td {
  padding-top: 10px;
  padding-bottom: 10px;
}
.anty-row-operator button {
  margin: 0 5px;
}
.ant-btn-danger {
  background-color: #ffffff;
}
.ant-modal-cust-warp {
  height: 100%;
}
.ant-modal-cust-warp .ant-modal-body {
  height: calc(100% - 110px) !important;
  overflow-y: auto;
}
.ant-modal-cust-warp .ant-modal-content {
  height: 90% !important;
  overflow-y: hidden;
}
/deep/ .notshow {
  display: none;
}
.frozenRowClass {
  color: #c9c9c9;
}
.hight {
  color: #f5222d;
}
.middle {
  color: #fa8c16;
}
.low {
  color: #52c41a;
}
.dataUnKnow {
  color: #1890ff;
}
/deep/ .frozenRowClass {
  color: #c9c9c9;
}
</style>
src/views/eam/modules/equipmentCalibrationOrder/TechnologyStatusAuthenticateModal.vue
@@ -1,6 +1,6 @@
<template>
  <a-modal
    :width="800"
    :width="1000"
    :visible="visible"
    :maskClosable="false"
    @ok="handleOk"
@@ -76,176 +76,241 @@
          style="font-size: large;font-style: normal;font-size: 15px;"
        >{{this.model.equipmentNum}}</span>
      </div>
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >检查部位</span>
      </div>
      <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >检查标准</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >检查结果(合格/不合格)</span>
        >有无此项</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >检查结果</span>
      </div>
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >操纵手柄及开关</span>
      </div>
      <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >安全、无破损</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="有"
          un-checked-children="没有"
          :checked="model.result_8 == '0'"
          @change="handle8Switch(model.result_8)"
        />
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="合格"
          un-checked-children="不合格"
          :checked="model.result_1 == '0'"
          @change="handleSwitch(model.result_1)"
          :hidden="model.hidden1Switch"
        />
      </div>
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >传动系统</span>
      </div>
      <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >灵活、无异响</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="有"
          un-checked-children="没有"
          :checked="model.result_9 == '0'"
          @change="handle9Switch(model.result_9)"
        />
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="合格"
          un-checked-children="不合格"
          :checked="model.result_2 == '0'"
          @change="handle2Switch(model.result_2)"
          :hidden="model.hidden2Switch"
        />
      </div>
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >安全装置</span>
      </div>
      <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >安全、灵敏、可靠</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="有"
          un-checked-children="没有"
          :checked="model.result_10 == '0'"
          @change="handle10Switch(model.result_10)"
        />
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="合格"
          un-checked-children="不合格"
          :checked="model.result_3 == '0'"
          @change="handle3Switch(model.result_3)"
          :hidden="model.hidden3Switch"
        />
      </div>
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >设备外观</span>
      </div>
      <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >整洁</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="有"
          un-checked-children="没有"
          :checked="model.result_11 == '0'"
          @change="handle11Switch(model.result_11)"
        />
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="合格"
          un-checked-children="不合格"
          :checked="model.result_4 == '0'"
          @change="handle4Switch(model.result_4)"
          :hidden="model.hidden4Switch"
        />
      </div>
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >电气线路</span>
      </div>
      <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >线路整齐、接线正确</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="有"
          un-checked-children="没有"
          :checked="model.result_12 == '0'"
          @change="handle12Switch(model.result_12)"
        />
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="合格"
          un-checked-children="不合格"
          :checked="model.result_5 == '0'"
          @change="handle5Switch(model.result_5)"
          :hidden="model.hidden5Switch"
        />
      </div>
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >检查各紧固装置</span>
      </div>
      <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;"
        >无松动</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="有"
          un-checked-children="没有"
          :checked="model.result_13 == '0'"
          @change="handle13Switch(model.result_13)"
        />
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="合格"
          un-checked-children="不合格"
          :checked="model.result_6 == '0'"
          @change="handle6Switch(model.result_6)"
          :hidden="model.hidden6Switch"
        />
      </div>
    </div>
    <div>
      <div :style="{height: '45px',float: 'left',width: '70%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '50%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <span
          class="ant-descriptions-title"
          style="font-size: large;font-style: normal;font-size: 15px;float: center"
        >是否满足生产加工要求</span>
      </div>
      <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
      <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="有"
          un-checked-children="没有"
          :checked="model.result_14 == '0'"
          @change="handle14Switch(model.result_14)"
        />
      </div>
      <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
        <a-switch
          checked-children="合格"
          un-checked-children="不合格"
          :checked="model.result_7 == '0'"
          @change="handle7Switch(model.result_7)"
          :hidden="model.hidden7Switch"
        />
      </div>
    </div>
@@ -533,6 +598,85 @@
      this.model = Object.assign({}, this.model);
    },
    handle8Switch(result_8) {
      if ('0' == result_8) {
        this.model.result_8 = '1'
        this.model.hidden1Switch = true
      } else {
        this.model.result_8 = '0'
        this.model.hidden1Switch = false
      }
      this.model = Object.assign({}, this.model);
    },
    handle9Switch(result_9) {
      if ('0' == result_9) {
        this.model.result_9 = '1'
        this.model.hidden2Switch = true
      } else {
        this.model.result_9 = '0'
        this.model.hidden2Switch = false
      }
      this.model = Object.assign({}, this.model);
    },
    handle10Switch(result_10) {
      if ('0' == result_10) {
        this.model.result_10 = '1'
        this.model.hidden3Switch = true
      } else {
        this.model.result_10 = '0'
        this.model.hidden3Switch = false
      }
      this.model = Object.assign({}, this.model);
    },
    handle11Switch(result_11) {
      if ('0' == result_11) {
        this.model.result_11 = '1'
        this.model.hidden4Switch = true
      } else {
        this.model.result_11 = '0'
        this.model.hidden4Switch = false
      }
      this.model = Object.assign({}, this.model);
    },
    handle12Switch(result_12) {
      if ('0' == result_12) {
        this.model.result_12 = '1'
        this.model.hidden5Switch = true
      } else {
        this.model.result_12 = '0'
        this.model.hidden5Switch = false
      }
      this.model = Object.assign({}, this.model);
    },
    handle13Switch(result_13) {
      if ('0' == result_13) {
        this.model.result_13 = '1'
        this.model.hidden6Switch = true
      } else {
        this.model.result_13 = '0'
        this.model.hidden6Switch = false
      }
      this.model = Object.assign({}, this.model);
    },
    handle14Switch(result_14) {
      if ('0' == result_14) {
        this.model.result_14 = '1'
        this.model.hidden7Switch = true
      } else {
        this.model.result_14 = '0'
        this.model.hidden7Switch = false
      }
      this.model = Object.assign({}, this.model);
    },
  },
}
</script>
src/views/eam/modules/equipmentNew/EquipmentPrecisionParametersList.vue
@@ -1,8 +1,14 @@
<template>
  <a-card :bordered="false" :class="'cust-erp-sub-tab'">
  <a-card
    :bordered="false"
    :class="'cust-erp-sub-tab'"
  >
    <!-- æŸ¥è¯¢åŒºåŸŸ -->
    <div class="table-page-search-wrapper">
      <a-form layout="inline" @keyup.enter.native="searchQuery">
      <a-form
        layout="inline"
        @keyup.enter.native="searchQuery"
      >
        <a-row :gutter="24">
        </a-row>
      </a-form>
@@ -10,7 +16,10 @@
    <!-- æŸ¥è¯¢åŒºåŸŸ-END -->
    <!-- æ“ä½œæŒ‰é’®åŒºåŸŸ -->
    <div class="table-operator" v-if="mainId">
    <div
      class="table-operator"
      v-if="mainId"
    >
      <!-- <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> -->
      <!-- <a-button type="primary" icon="download" @click="handleExportXls('设备精度')">导出</a-button>
      <a-upload
@@ -22,9 +31,15 @@
        @change="handleImportExcel">
          <a-button type="primary" icon="import">导入</a-button>
      </a-upload> -->
      <a-dropdown v-if="selectedRowKeys.length > 0" v-has="'accountSons:add&edit&delete&submit'">
      <a-dropdown
        v-if="selectedRowKeys.length > 0"
        v-has="'accountSons:add&edit&delete&submit'"
      >
        <a-menu slot="overlay">
          <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
          <a-menu-item
            key="1"
            @click="batchDel"
          ><a-icon type="delete" />删除</a-menu-item>
          <!-- <a-menu-item key="1" @click="handleSubmitBatch"><a-icon type="to-top" />提交</a-menu-item> -->
        </a-menu>
        <a-button style="margin-left: 8px"> æ‰¹é‡æ“ä½œ <a-icon type="down" /></a-button>
@@ -33,9 +48,15 @@
    <!-- table区域-begin -->
    <div>
      <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
      <div
        class="ant-alert ant-alert-info"
        style="margin-bottom: 16px;"
      >
        <i class="anticon anticon-info-circle ant-alert-icon"></i> å·²é€‰æ‹© <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
        <a style="margin-left: 24px" @click="onClearSelected">清空</a>
        <a
          style="margin-left: 24px"
          @click="onClearSelected"
        >清空</a>
      </div>
      <a-table
@@ -49,7 +70,8 @@
        :pagination="ipagination"
        :loading="loading"
        :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
        @change="handleTableChange">
        @change="handleTableChange"
      >
        <!-- <template
          v-for="col in columns"
@@ -110,7 +132,11 @@
      </a-table>
    </div>
    <equipmentPrecisionParameters-modal ref="modalForm" @ok="modalFormOk" :mainId="mainId"></equipmentPrecisionParameters-modal>
    <equipmentPrecisionParameters-modal
      ref="modalForm"
      @ok="modalFormOk"
      :mainId="mainId"
    ></equipmentPrecisionParameters-modal>
  </a-card>
</template>
@@ -183,12 +209,12 @@
            dataIndex: 'tolerance',
            width:400
          },
          {
            title:'实测值',
            align:"center",
            dataIndex: 'actualValue',
            width:400
          },
        // {
        //   title:'实测值',
        //   align:"center",
        //   dataIndex: 'actualValue',
        //   width:400
        // },
        ],
        url: {
          list: '/eam/precisionParametersTemplateDetail/listByPrecisionParametersTemplateId',
@@ -312,5 +338,5 @@
  }
</script>
<style scoped>
  @import '~@assets/less/common.less'
@import '~@assets/less/common.less';
</style>
src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanForm.vue
@@ -324,7 +324,7 @@
        ids.push(tableData[i].standardId)
      }
      this.$refs.standardSelectModel.showModal(ids)
      this.$refs.standardSelectModel.title = '选择精度参数'
      this.$refs.standardSelectModel.title = '选择设备'
      this.$refs.standardSelectModel.disableSubmit = false
    },
    addSelected(data) {
src/views/eam/modules/maintenancePlan/StandardSelect.vue
@@ -183,7 +183,7 @@
      visible: false,
      loading: false,
      url: {
        list: '/eam/equipment/getEquipmentList',
        list: '/eam/equipment/showEquipmentList',
        getStandards:'/eam/equipmentMaintenancePlan/getStandards'
      },
    }
src/views/eam/modules/precisionParametersTemplate/PrecisionParametersTemplateEditForm.vue
@@ -2,7 +2,12 @@
  <a-spin :spinning="confirmLoading">
    <j-form-container :disabled="formDisabled">
      <!-- ä¸»è¡¨å•区域 -->
      <a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail">
      <a-form-model
        ref="form"
        :model="model"
        :rules="validatorRules"
        slot="detail"
      >
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-model-item
@@ -56,8 +61,15 @@
      </a-form-model>
    </j-form-container>
      <!-- å­è¡¨å•区域 -->
    <a-tabs v-model="activeKey" @change="handleChangeTabs">
      <a-tab-pane tab="精度参数明细" :key="refKeys[0]" :forceRender="true">
    <a-tabs
      v-model="activeKey"
      @change="handleChangeTabs"
    >
      <a-tab-pane
        tab="精度参数明细"
        :key="refKeys[0]"
        :forceRender="true"
      >
        <j-vxe-table
          keep-source
          :ref="refKeys[0]"
@@ -75,13 +87,21 @@
          >
          <!-- @valueChange="changeDate" -->
          <template slot='toolbarPrefix'>
            <a-button type='primary' @click='precisionParametersDetailSelect' :disabled="formDisabled"  icon="plus">选择精度参数
            <a-button
              type='primary'
              @click='precisionParametersDetailSelect'
              :disabled="formDisabled"
              icon="plus"
            >选择精度参数
            </a-button>
          </template>
        </j-vxe-table>
      </a-tab-pane>
    </a-tabs>
    <j-select-precision-parameters-modal @selectionRows='selectionRows' ref='JSelectPrecisionParametersModal' ></j-select-precision-parameters-modal>
    <j-select-precision-parameters-modal
      @selectionRows='selectionRows'
      ref='JSelectPrecisionParametersModal'
    ></j-select-precision-parameters-modal>
  </a-spin>
</template>
@@ -178,18 +198,18 @@
              width:"350px",
              placeholder: '请输入${title}',
              align:'center',
              validateRules: [
              { handler({ cellValue, row, column }, callback, target) {
                    const regex = /^[+]?\d*\.?\d+\/[+]?\d*\.?\d+$/;
                    if (!new RegExp(regex).test(cellValue)&&cellValue!=null) {
                        callback(false, '允差要符合【上限/距离】的填写规则,如: 0.16/300') // false = æœªé€šè¿‡ï¼Œå¯ä»¥è·Ÿè‡ªå®šä¹‰æç¤º
                    } else {
                        callback(true) // true = é€šè¿‡éªŒè¯
                    }
                },
                message: '${title}默认提示'
              },
              ]
            // validateRules: [
            // { handler({ cellValue, row, column }, callback, target) {
            //       const regex = /^[+]?\d*\.?\d+\/[+]?\d*\.?\d+$/;
            //       if (!new RegExp(regex).test(cellValue)&&cellValue!=null) {
            //           callback(false, '允差要符合【上限/距离】的填写规则,如: 0.16/300') // false = æœªé€šè¿‡ï¼Œå¯ä»¥è·Ÿè‡ªå®šä¹‰æç¤º
            //       } else {
            //           callback(true) // true = é€šè¿‡éªŒè¯
            //       }
            //   },
            //   message: '${title}默认提示'
            // },
            // ]
            },
          ]
        },