lizhenhao пре 2 година
родитељ
комит
d4168845f9

+ 1 - 6
src/views/modules/sys/project/AssessForm.vue

@@ -12,9 +12,6 @@
                :model="inputForm"
                ref="inputForm"
                v-loading="loading"
-               element-loading-text="拼命上传中"
-               element-loading-spinner="el-icon-loading"
-               element-loading-background="rgba(0, 0, 0, 0.5)"
                :class="method==='view'?'readonly':''"
                :disabled="method==='view'"
                label-width="150px">
@@ -396,7 +393,7 @@
         zIndex="9999"/>
       <span slot="footer" class="dialog-footer">
       <el-button  @click="close()" icon="el-icon-circle-close">关闭</el-button>
-      <el-button  type="primary" v-if="method != 'view'" @click="doSubmit()" v-loading="loading" icon="el-icon-circle-check" v-noMoreClick>确定</el-button>
+      <el-button  type="primary" v-if="method != 'view'" @click="doSubmit()" icon="el-icon-circle-check" v-noMoreClick>确定</el-button>
     </span>
     </el-dialog>
   </div>
@@ -672,9 +669,7 @@
         this.showVi = true
       },
       async httpRequest (file) {
-        this.loading = true
         await httpRequest(file, fileName(file), 'projectRecords')
-        this.loading = false
       },
       handleRemove () {
         this.fileList = handleRemove()

+ 1 - 6
src/views/modules/sys/project/ConsultationForm.vue

@@ -14,9 +14,6 @@
                :class="method==='view'?'readonly':''"
                :disabled="method==='view'"
                v-loading="loading"
-               element-loading-text="拼命上传中"
-               element-loading-spinner="el-icon-loading"
-               element-loading-background="rgba(0, 0, 0, 0.5)"
                label-width="150px">
         <el-row  :gutter="15">
           <el-col :span="12">
@@ -399,7 +396,7 @@
         zIndex="9999"/>
       <span slot="footer" class="dialog-footer">
       <el-button  @click="close()" icon="el-icon-circle-close">关闭</el-button>
-      <el-button  type="primary" v-if="method != 'view'" v-loading="loading" @click="doSubmit()" icon="el-icon-circle-check" v-noMoreClick>确定</el-button>
+      <el-button  type="primary" v-if="method != 'view'"  @click="doSubmit()" icon="el-icon-circle-check" v-noMoreClick>确定</el-button>
     </span>
     </el-dialog>
   </div>
@@ -655,9 +652,7 @@
         this.showVi = true
       },
       async httpRequest (file) {
-        this.loading = true
         await httpRequest(file, fileName(file), 'projectRecords')
-        this.loading = false
       },
       handleRemove () {
         this.fileList = handleRemove()