spring
2025-05-21 ee2882cff02d3545b66c7591f88ed4800f730a9a
消息通知数据自动筛选
已修改2个文件
23 ■■■■■ 文件已修改
src/components/view/b1-inspect-order-plan.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/notice-detail.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/b1-inspect-order-plan.vue
@@ -425,6 +425,8 @@
    Inspection,
    Add
  },
  props: ['entrustCodeNew', 'laboratoryNew'],
  data() {
    return {
      currentHistory: {},
@@ -1133,7 +1135,16 @@
        if (this.tabList.length > 0) {
          this.componentData.entity.sonLaboratory = this.tabList[0].value
        }
        if (this.entrustCodeNew) {
          this.componentData.entity.entrustCode = this.entrustCodeNew
        }
        if (this.laboratoryNew) {
          let index = this.tabList.findIndex(item => item.label == this.laboratoryNew)
          this.componentData.entity.sonLaboratory = this.tabList[index].label
          this.tabIndex = index;
        this.refreshTable()
        }
      })
    },
    selectAllByOne(row) {
src/components/view/notice-detail.vue
@@ -1,7 +1,10 @@
<template>
  <div class="notice-detail-page">
    <div class="notice-detail-head">
      <h4 style="margin-bottom: 16px;text-align:left;" v-if="noticeInfo.theme">{{ noticeInfo.theme }} <el-tag style="margin-left: 10px;" :type="options.find(m=>m.value==noticeInfo.messageType).type" v-if="options.find(m=>m.value==noticeInfo.messageType)">{{ options.find(m=>m.value==noticeInfo.messageType).label }}</el-tag></h4>
      <h4 style="margin-bottom: 16px;text-align:left;" v-if="noticeInfo.theme">{{ noticeInfo.theme }} <el-tag
          style="margin-left: 10px;" :type="options.find(m => m.value == noticeInfo.messageType).type"
          v-if="options.find(m => m.value == noticeInfo.messageType)">{{
            options.find(m => m.value == noticeInfo.messageType).label }}</el-tag></h4>
      <p style="font-size: 12px;color: #999;margin-bottom: 20px;text-align:left;">
        <!-- <span>消息类型:审批&nbsp; </span> -->
        <span>发送人:{{ noticeInfo.createUser }} </span>
@@ -16,7 +19,8 @@
      </div>
    </div>
    <div class="info-box" v-if="noticeInfo.jumpPath">
      <component class="notice-content" :is="noticeInfo.jumpPath">
      <component class="notice-content" :is="noticeInfo.jumpPath" :entrustCodeNew="noticeInfo.entrustCode"
        :laboratoryNew="noticeInfo.laboratory">
          </component>
    </div>
  </div>
@@ -68,15 +72,18 @@
  overflow-y: auto;
  padding: 16px 0;
}
.notice-detail-page::-webkit-scrollbar {
  width: 0;
}
.notice-detail-head{
  background: #fff;
  border-radius: 3px;
  box-sizing: border-box;
  padding: 16px;
}
.info-box{
  margin-top: 16px;
  width: 100%;
@@ -87,6 +94,7 @@
  border-radius: 4px;
  min-height: calc(100% - 192px - 22px);
}
.notice-detail-head-content div{
  border-radius: 8px;
  border: 1px solid #ccc;