鲁班七号
2023-09-04 91386ee396b582bc3835dbb97e237b2558951988
src/views/Admin/msgRecord.vue
@@ -12,7 +12,7 @@
        />
      </a-col>
      <a-col :span="4">
        <a-button type="primary" @click="getData">查询</a-button>
        <a-button type="primary" @click="searchData()">查询</a-button>
        <a-button style="margin-left: 12px" @click="resetSearch">重置</a-button>
      </a-col>
    </a-row>
@@ -25,8 +25,9 @@
            </div>
            <a-divider type="vertical" />
            <div class="tit">
              任务ID:<span>{{item.id}}</span>
              任务ID:<span>{{item.id}}</span>
            </div>
         发送人数:{{item.recipients.length}}
          </template>
          <p>
            {{item.content}}
@@ -72,9 +73,8 @@
      details: {},
      riskOptions: [
        {name: '地震',value: 1},
        {name: '洪涝',value: 2},
        {name: '气象',value: 3},
        {name: '泥石流',value: 4},
        {name: '地质灾害',value: 4},
        {name: '水旱',value: 5},
        {name: '森林草原火灾',value: 6}
      ],
@@ -100,6 +100,11 @@
      }else{
        this.$message.error(res.data.msg)
      }
    },
    searchData(){
      this.search.pageIndex = 1
      this.getData()
    },
    resetSearch(){
@@ -167,6 +172,7 @@
      align-items: center !important;
      .tit{
        width: 50%;
        color: @base
      }
    }
    /deep/ .ant-card-actions{