马宇豪
2024-02-06 140e83402814ffd2e92dfe313f5681feedd39f86
src/views/Admin/notice.vue
@@ -125,6 +125,7 @@
                  :show-checked-strategy="SHOW_PARENT"
                  search-placeholder="Please select"
                  @change="handle"
                  @focus="getPj()"
              />
                  </a-form-model-item>
               </a-col>
@@ -151,7 +152,7 @@
            <h2>短信预览</h2>
            <div class="mobile">
               <div class="mesg">
                  <P>【自然灾害风险预警提示】{{form.content}}</P>
                  <P>【防灾减灾工作通知】{{form.content}}</P>
               </div>
            </div>
         </div>
@@ -342,7 +343,6 @@
            for (const resKey in res.data.data) {
              t.filteredOptions = t.filteredOptions.concat(...res.data.data[resKey]);
              console.log(t.filteredOptions,'ops')
              const obj = {
                  title: resKey,
                  value: resKey,
@@ -363,7 +363,10 @@
               this.$message.warning(res.data.msg);
            }
         },
      getPj(){
        this.treeData = []
        this.getSameLevel()
      },
         // 获取接收单位
         async getAreaUsers() {
            let t = this
@@ -574,7 +577,6 @@
                     ...data
                  } = this.form
                  msgSend(data).then(res => {
                     if (res.data.code == 100) {
                        this.deleteFile()
                        this.$message.success('信息已提交审核')