Rmengdi 10 hónapja
szülő
commit
8a8849b0ca

+ 1 - 1
meas_web/src/views/meas/components/dialogContent.vue

@@ -162,7 +162,7 @@
             </el-form-item>
             <el-form-item label="辐射亮度8~14μm" label-width="130px" prop="radiance2">
               <file-upload :isCheck="isCheck" :fileSize="0" :limit="1" :fileType="['txt']"
-                v-model="radiationData.radiance2" />
+                v-model="radiationData.radiance2" :isShowViev="true" v-on:fileView="fileView"/>
             </el-form-item>
           </el-row>
         </el-form>

+ 5 - 1
meas_web/src/views/meas/dataResults/index.vue

@@ -75,7 +75,7 @@
 
     <!-- 添加或修改数据结果对话框 -->
     <el-dialog :close-on-click-modal="false" :title="title" :visible.sync="open" width="70%" append-to-body>
-      <dialogContent :form="form" :isCheck="isCheck"/>
+      <dialogContent :form="form" :isCheck="isCheck" :footShow="footShow"/>
       <el-row type="flex" justify="space-around">
         <el-button size="mini" type="success" style="margin-top: 20px">计算数据</el-button>
       </el-row>
@@ -183,6 +183,7 @@ export default {
       // 发动机角度
       angleOptions: [],
       isCheck: true,
+      footShow:true
     };
   },
   created() {
@@ -263,10 +264,13 @@ export default {
     checkView(row) {
       this.handleUpdate(row)
       this.isCheck = true
+      this.footShow = false
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
       this.reset();
+      this.isCheck = false
+      this.footShow = false
       const id = row.measurementBatchId || this.measurementBatchIds;
       getEnvData(id).then((response) => {
         this.form = response.data;