| | |
| | | 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 |
| | |
| | | v-for="(item, index) in Arr" |
| | | :key="index" |
| | | > |
| | | {{ item.Key }}:{{ item.Value || "" }} |
| | | {{ item.Key }}:{{ item.Value || "" }} |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | 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"/> --> |
| | |
| | | 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') |
| | |
| | | this.resParams = res; |
| | | } |
| | | }); |
| | | setTimeout(()=>{ |
| | | this.isLoading=false; |
| | | },30000) |
| | | } |
| | | }, |
| | | getCode(res) { |
| | |
| | | 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; |