|
@@ -87,7 +87,7 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-download"
|
|
|
- @click="download(scope.row.casOutputFilePath)"
|
|
|
+ @click="downloadfile(scope.row.casOutputFilePath)"
|
|
|
v-hasPermi="['data:model:edit']"
|
|
|
>{{ getFileName(scope.row.casOutputFilePath) }}
|
|
|
</el-button>
|
|
@@ -99,7 +99,7 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-download"
|
|
|
- @click="download(scope.row.datOutputFilePath)"
|
|
|
+ @click="downloadfile(scope.row.datOutputFilePath)"
|
|
|
v-hasPermi="['data:model:edit']"
|
|
|
>{{ getFileName(scope.row.datOutputFilePath) }}
|
|
|
</el-button>
|
|
@@ -111,7 +111,7 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-download"
|
|
|
- @click="download(scope.row.otherOutputFilePath)"
|
|
|
+ @click="downloadfile(scope.row.otherOutputFilePath)"
|
|
|
v-hasPermi="['data:model:edit']"
|
|
|
>{{ getFileName(scope.row.otherOutputFilePath) }}
|
|
|
</el-button>
|
|
@@ -123,7 +123,7 @@
|
|
|
size ="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-download"
|
|
|
- @click="download(scope.row.temperatureImagePath)"
|
|
|
+ @click="downloadfile(scope.row.temperatureImagePath)"
|
|
|
v-haspermi="['data:model:edit']">
|
|
|
{{getFileName(scope.row.temperatureImagePath)}}
|
|
|
</el-button>
|
|
@@ -135,7 +135,7 @@
|
|
|
size ="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-download"
|
|
|
- @click="download(scope.row.velocityImagePath)"
|
|
|
+ @click="downloadfile(scope.row.velocityImagePath)"
|
|
|
v-haspermi="['data:model:edit']">
|
|
|
{{getFileName(scope.row.velocityImagePath)}}
|
|
|
</el-button>
|
|
@@ -147,7 +147,7 @@
|
|
|
size ="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-download"
|
|
|
- @click="download(scope.row.pressureImagePath)"
|
|
|
+ @click="downloadfile(scope.row.pressureImagePath)"
|
|
|
v-haspermi="['data:model:edit']">
|
|
|
{{getFileName(scope.row.pressureImagePath)}}
|
|
|
</el-button>
|
|
@@ -211,6 +211,9 @@
|
|
|
<file-upload v-model="form.datOutputFilePath" :fileType="datfileType" :fileSize="2048" :limit="1"/>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="other文件输出路径" prop="otherOutputFilePath">
|
|
|
+ <file-upload v-model="form.otherOutputFilePath" :fileType="imgfileType" :fileSize="2048" :limit="1"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="表面温度分布图" prop="temperatureImagePath">
|
|
|
<file-upload v-model="form.temperatureImagePath" :fileType="imgfileType" :fileSize="100" :limit="1"/>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="表面速度分布图输出路径" prop="velocityImagePath">
|
|
@@ -425,7 +428,7 @@ export default {
|
|
|
return '';
|
|
|
}
|
|
|
},
|
|
|
- download(path) {
|
|
|
+ downloadfile(path) {
|
|
|
this.$download.resource(path);
|
|
|
},
|
|
|
getOption(){
|