qushaowei
2024-04-07 ce784aa1f8dd3c14386aeb016f0d034fac18fd3e
设备管理 报表打印修改
已修改8个文件
141 ■■■■ 文件已修改
src/views/eam/Daily3MaintenanceOrderList.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/DailyInspectionStandardList.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/DailyMaintenanceOrderList.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/DailyMaintenanceStandard3List.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/DailyMaintenanceStandardList.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/InspectionReportForms.vue 88 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/daily3MaintenanceOrder/MaintenanceOrder3Modal.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/dailyMaintenanceOrder/MaintenanceOrderModal.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/Daily3MaintenanceOrderList.vue
@@ -700,12 +700,12 @@
    },
    handlePrintPrecision(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/858844938446508032?id=` + record.id; //网站链接
      let href = `${window._CONFIG['domianURL']}/jmreport/view/934652777124782080?id=` + record.id; //网站链接
      window.open(href, "_blank");
    },
    handlePrintCheck(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/858867141388996608?id=` + record.id; //网站链接
      let href = `${window._CONFIG['domianURL']}/jmreport/view/934647514367975424?id=` + record.id; //网站链接
      window.open(href, "_blank");
    },
@@ -716,12 +716,12 @@
    },
    handlePrintTechnology(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/932475014657814528?id=` + record.id; //网站链接
      let href = `${window._CONFIG['domianURL']}/jmreport/view/934618792969560064?id=` + record.id; //网站链接
      window.open(href, "_blank");
    },
    handlePrintStove(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/932491838782910464?id=` + record.id; //网站链接
      let href = `${window._CONFIG['domianURL']}/jmreport/view/934611893956042752?id=` + record.id; //网站链接
      window.open(href, "_blank");
    },
src/views/eam/DailyInspectionStandardList.vue
@@ -87,6 +87,12 @@
        icon="download"
      >模版下载</a-button>
      <a-button
        v-show="selectedRowKeys.length == 1 "
        type="primary"
        @click="handlePrint(selectionRows[0])"
        icon="highlight"
      >模版打印</a-button>
      <a-button
        type="primary"
        @click="searchQuery"
        icon="search"
@@ -712,6 +718,11 @@
      })
    },
    handlePrint(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/934677113625829376?id=` + record.id; //网站链接
      window.open(href, "_blank");
    },
  }
}
</script>
src/views/eam/DailyMaintenanceOrderList.vue
@@ -541,7 +541,7 @@
    },
    handlePrintInfo(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/857408393168490496?id=` + record.id; //网站链接
      let href = `${window._CONFIG['domianURL']}/jmreport/view/934663658030161920?id=` + record.id; //网站链接
      window.open(href, "_blank");
    },
src/views/eam/DailyMaintenanceStandard3List.vue
@@ -111,6 +111,12 @@
        icon="download"
      >模版下载</a-button>
      <a-button
        v-show="selectedRowKeys.length == 1 "
        type="primary"
        @click="handlePrint(selectionRows[0])"
        icon="highlight"
      >模版打印</a-button>
      <a-button
        type='primary'
        @click='searchQuery'
        icon='search'
@@ -643,6 +649,11 @@
        }
      })
    },
    handlePrint(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/934708250372923392?id=` + record.id; //网站链接
      window.open(href, "_blank");
    },
  }
}
</script>
src/views/eam/DailyMaintenanceStandardList.vue
@@ -111,6 +111,12 @@
        icon="download"
      >模版下载</a-button>
      <a-button
        v-show="selectedRowKeys.length == 1 "
        type="primary"
        @click="handlePrint(selectionRows[0])"
        icon="highlight"
      >模版打印</a-button>
      <a-button
        type='primary'
        @click='searchQuery'
        icon='search'
@@ -643,6 +649,11 @@
        }
      })
    },
    handlePrint(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/934696640354902016?id=` + record.id; //网站链接
      window.open(href, "_blank");
    },
  }
}
</script>
src/views/eam/InspectionReportForms.vue
@@ -24,6 +24,27 @@
          </a-col>
          <a-col :span="6">
            <a-form-item
              label="查询日期"
              :labelCol="labelCol"
              :wrapperCol="wrapperCol"
            >
              <!-- <j-date
                style="width: 100%"
                placeholder="请选择查询日期"
                :showTime="true"
                dateFormat="YYYY-MM"
                v-model="queryParam.dataTime"
              /> -->
              <a-month-picker
                style="width: 100%"
                v-model="queryParam.dataTime"
                dateFormat="YYYY-MM"
                placeholder="请选择查询日期"
              />
            </a-form-item>
          </a-col>
          <!-- <a-col :span="6">
            <a-form-item
              :labelCol="labelCol"
              :wrapperCol="wrapperCol"
              label="设备名称"
@@ -45,7 +66,7 @@
                placeholder="请输入型号"
              ></a-input>
            </a-form-item>
          </a-col>
          </a-col> -->
        </a-row>
      </a-form>
    </div>
@@ -66,10 +87,10 @@
        size="small"
        bordered
        rowKey="id"
        :scroll="{x:true}"
        :scroll="{ x: 'calc(1800px + 50%)', y: 900 }"
        :columns="columns"
        :dataSource="dataSource"
        :pagination="ipagination"
        :pagination="false"
        :loading="loading"
        @change="handleTableChange"
      >
@@ -191,16 +212,19 @@
          title: '统一编码',
          align: "center",
          dataIndex: 'equipmentNum',
          width: 150,
        },
        {
          title: '设备名称',
          align: "center",
          dataIndex: 'equipmentName',
          width: 150,
        },
        {
          title: '型号',
          align: "center",
          dataIndex: 'equipmentModel',
          width: 150,
        },
        {
          title: '点检项目',
@@ -215,154 +239,154 @@
        {
          title: '1',
          align: "center",
          dataIndex: 'data1',
          dataIndex: '01',
          width: 50,
        },
        {
          title: '2',
          align: "center",
          dataIndex: 'data2',
          dataIndex: '02',
          width: 50,
        },
        {
          title: '3',
          align: "center",
          dataIndex: 'data3',
          dataIndex: '03',
          width: 50,
          // scopedSlots: { customRender: 'yseNoPrecisionParameters' }
        },
        {
          title: '4',
          align: "center",
          dataIndex: 'data4',
          dataIndex: '04',
          width: 50,
          // scopedSlots: { customRender: 'yseNoInspectionStandard' }
        },
        {
          title: '5',
          align: "center",
          dataIndex: 'data5',
          dataIndex: '05',
          // scopedSlots: { customRender: 'yseNoMaintenance2Standard' }
          width: 50,
        },
        {
          title: '6',
          align: "center",
          dataIndex: 'data6',
          dataIndex: '06',
          width: 50,
        },
        {
          title: '7',
          align: "center",
          dataIndex: 'data7',
          dataIndex: '07',
          width: 50,
        },
        {
          title: '8',
          align: "center",
          dataIndex: 'data8',
          dataIndex: '08',
          width: 50,
        },
        {
          title: '9',
          align: "center",
          dataIndex: 'data9',
          dataIndex: '09',
          width: 50,
        },
        {
          title: '10',
          align: "center",
          dataIndex: 'data10',
          dataIndex: '10',
          width: 50,
        },
        {
          title: '11',
          align: "center",
          dataIndex: 'data11',
          dataIndex: '11',
          width: 50,
        },
        {
          title: '12',
          align: "center",
          dataIndex: 'data12',
          dataIndex: '12',
          width: 50,
        },
        {
          title: '13',
          align: "center",
          dataIndex: 'data13',
          dataIndex: '13',
          width: 50,
        },
        {
          title: '14',
          align: "center",
          dataIndex: 'data14',
          dataIndex: '14',
          width: 50,
        },
        {
          title: '15',
          align: "center",
          dataIndex: 'data15',
          dataIndex: '15',
          width: 50,
        },
        {
          title: '16',
          align: "center",
          dataIndex: 'data16',
          dataIndex: '16',
          width: 50,
        },
        {
          title: '17',
          align: "center",
          dataIndex: 'data17',
          dataIndex: '17',
          width: 50,
        },
        {
          title: '18',
          align: "center",
          dataIndex: 'data18',
          dataIndex: '18',
          width: 50,
        },
        {
          title: '19',
          align: "center",
          dataIndex: 'data19',
          dataIndex: '19',
          width: 50,
        },
        {
          title: '20',
          align: "center",
          dataIndex: 'data20',
          dataIndex: '20',
          width: 50,
        },
        {
          title: '21',
          align: "center",
          dataIndex: 'data21',
          dataIndex: '21',
          width: 50,
        },
        {
          title: '22',
          align: "center",
          dataIndex: 'data22',
          dataIndex: '22',
          width: 50,
        },
        {
          title: '23',
          align: "center",
          dataIndex: 'data23',
          dataIndex: '23',
          width: 50,
        },
        {
          title: '24',
          align: "center",
          dataIndex: 'data24',
          dataIndex: '24',
          width: 50,
        },
        {
          title: '25',
          align: "center",
          dataIndex: 'data25',
          dataIndex: '25',
          width: 50,
        },
        {
@@ -380,25 +404,25 @@
        {
          title: '28',
          align: "center",
          dataIndex: 'data28',
          dataIndex: '28',
          width: 50,
        },
        {
          title: '29',
          align: "center",
          dataIndex: 'data29',
          dataIndex: '29',
          width: 50,
        },
        {
          title: '30',
          align: "center",
          dataIndex: 'data30',
          dataIndex: '30',
          width: 50,
        },
        {
          title: '31',
          align: "center",
          dataIndex: 'data31',
          dataIndex: '31',
          width: 50,
        },
      ],
src/views/eam/modules/daily3MaintenanceOrder/MaintenanceOrder3Modal.vue
@@ -180,7 +180,7 @@
                allow-clear
                :disabled="true"
                :placeholder="disableSubmit?'':'请输入责任班组'"
                v-decorator="['teamName', validatorRules.teamName ]"
                v-decorator="['teamName', {} ]"
              />
            </a-form-item>
          </a-col>
@@ -642,7 +642,7 @@
      //   return
      // }
      this.$refs.DailyMaintenanceStandard3List.list(data.useId);
      this.$refs.DailyMaintenanceStandard3List.title = "选择日常保养标准";
      this.$refs.DailyMaintenanceStandard3List.title = "选择三级保养标准";
    },
    send3MaintenanceStandardRecord(data) {
      let record = data.record;
@@ -683,8 +683,8 @@
    handle3Change(val) {
      let data = this.form.getFieldsValue(['maintenanceStandardId']);
      // getAction(this.url.getMaintenanceProjectList, { maintenanceStandardId: data.maintenanceStandardId, maintenanceCycleId: val }).then((res) => {
      getAction(this.url.getMaintenanceProjectList).then((res) => {
      getAction(this.url.getMaintenanceProjectList, { maintenanceStandardId: data.maintenanceStandardId, maintenanceCycleId: val }).then((res) => {
        // getAction(this.url.getMaintenanceProjectList).then((res) => {
        if (res.success) {
          this.dataSource = res.result;
          if (res.result.length == 0) {
src/views/eam/modules/dailyMaintenanceOrder/MaintenanceOrderModal.vue
@@ -180,7 +180,7 @@
                allow-clear
                :disabled="true"
                :placeholder="disableSubmit?'':'请输入责任班组'"
                v-decorator="['teamName', validatorRules.teamName ]"
                v-decorator="['teamName', {} ]"
              />
            </a-form-item>
          </a-col>