Commit c1bafa08 authored by kaitly205422@163.com's avatar kaitly205422@163.com
Browse files

新增下载附件填写意见接口

parent 1064ba1a
Loading
Loading
Loading
Loading
+14 −7
Original line number Diff line number Diff line
@@ -25,7 +25,14 @@ export function addPlan(data) {
    data: data
  })
}

// 下载风险计划模板添加意见
export function addAdvise(data) {
  return request({
    url: '/app-api/risk/advise',
    method: 'post',
    data: data
  })
}
// 修改风险计划
export function updatePlan(data) {
  return request({

src/assets/map/low.jpg

0 → 100644
+5.19 KiB
Loading image diff...
+3 B (5.61 KiB)
Loading image diff...
+17 −8
Original line number Diff line number Diff line
@@ -10,6 +10,16 @@ export default {
      default: () => []
    }
  },
  watch: {
    tableList(newVal) {
      if (newVal.length > 0) {
        setTimeout(() => {
          this.getHeight();
          this.compareH();
        }, 500);
      }
    }
  },
  data() {
    return {
      mapTableListHeight: 0,
@@ -17,12 +27,7 @@ export default {
      h: 0,
    };
  },
  mounted() {
    setTimeout(() => {
      this.getHeight();
      this.compareH();
    }, 700);
  },

  methods: {
    // 获取map-table-list的高度
    getHeight() {
@@ -36,6 +41,7 @@ export default {
    },
    // 比较map-table-list高度
    compareH() {
      console.log(this.mapTableContainerHeight, this.mapTableListHeight);
      if (this.mapTableContainerHeight < this.mapTableListHeight) {
        // 添加定时器滚动map-table-list-item
        setInterval(() => {
@@ -70,7 +76,7 @@ export default {
                    }}>
                      {key.props == 'index' && <div class="serial">{index + 1}</div>}
                      {key.render && key.render()}
                      {<span>{item[key.props]}</span>}
                      {<span title={item[key.props]}>{item[key.props]}</span>}
                    </div>
                  })
                }
@@ -102,6 +108,7 @@ export default {
  padding: 0;

  &-item {
    cursor: pointer;
    display: flex;
    height: 30px;
    margin-bottom: 5px;
@@ -137,12 +144,14 @@ export default {
      }
    }



    .map-table-list-item-value {
      width: 30%;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      margin-right: 18px;
      margin-right: 12px;
      font-weight: bold;
    }

+4 −3
Original line number Diff line number Diff line
@@ -126,7 +126,6 @@ export default {
  components: { mapItemContainer, mapDetailTab, mapTable, drawCanvas },
  data() {
    return {

      formInline: {
        position: '地上',
        buildingId: '',
@@ -186,11 +185,12 @@ export default {
        {
          props: 'riskName',
          color: "#fff",
          width: '40%'
        },
        {
          props: 'typeName',
          color: "rgb(0, 255, 186)",
          width: "30%",
          width: "20%",
        },
        {
          props: 'levelName',
@@ -568,13 +568,14 @@ li {
}

.map-detail-draw {
  transform: scale(0.55);
  transform: scale(0.8);
  transform-origin: 0 0;
}

::v-deep .vue-grid-layout {
  min-height: auto !important;
  padding: 0 !important;
  border: none;
}

.map-detail-info-img {
Loading