haoxuan
2023-09-07 351480c2cc022c886429192fc2893e3fc2c9877f
src/components/AddIssue.vue
@@ -7,7 +7,7 @@
    class="add-event-dialog"
    :show-close="false"
  >
    <div class="tank-box" v-loading.fullscreen.lock="isLoading" element-loading-text="下发中,请稍后...">
    <div class="tank-box">
      <div slot="title" class="tac drawerHeader">新任务</div>
      <div class="dialog-content-box">
        <div
@@ -97,7 +97,8 @@
                  v-for="(item, index) in Arr"
                  :key="index"
                >
                  {{ item.Key }}:{{ item.Value || "" }}
                  {{ item.Key }}:{{ item.Value || "" }}
                </div>
              </div>
            </div>
@@ -159,8 +160,10 @@
            v-prevent-re-click="3000"
            @click="onSubmit()"
          >
            <i class="el-icon-loading icon-loading" v-if="isLoading"/>
            <img src="../../public/confirm1.png" />
          </div>
        </template>
      </div>
      <!-- <ErrorIssue ref="error" :messageError="messageError" @shutdown="shutdown"/> -->
@@ -305,6 +308,9 @@
            this.getCode(this.resParams);
          }
        }, 1000);
        if(this.isLoading){
          return true;
        }
        this.isLoading=true;
          sendProcessParams({ id: this.taskData.Procedure.ID }).then((res) => {
            console.log(res,'====res')
@@ -318,6 +324,9 @@
              this.resParams = res;
            }
          });
          setTimeout(()=>{
            this.isLoading=false;
          },30000)
      }
    },
    getCode(res) {
@@ -434,9 +443,17 @@
  height: auto;
  float: left;
  display: inline-block;
  position:relative;
  img {
    width: 100%;
  }
  .icon-loading{
    font-size:19px;
    color:#4efefa;
    position:absolute;
    line-height:2.7;
    left:18%;
  }
  &:nth-of-type(1) {
    margin-right: 30px;
    margin-left: 110px;