Commit b42026e4 authored by 高滢's avatar 高滢

feat(指定检测方案): 下载模板

parent 27144fd5
...@@ -73,7 +73,8 @@ ...@@ -73,7 +73,8 @@
</component> </component>
</el-form-item> </el-form-item>
<div class="desc" v-if="item.remark"> <div class="desc" v-if="item.remark">
{{ item.remark }} <!-- {{ item.remark }}-->
<div v-html="formattedText(item.remark)"></div>
</div> </div>
<!-- <div class="desc">12334</div> --> <!-- <div class="desc">12334</div> -->
</div> </div>
...@@ -138,9 +139,12 @@ export default { ...@@ -138,9 +139,12 @@ export default {
}) })
}, },
methods: { methods: {
formattedText(data) {
return data.replace(/\r\n/g, '<br>'); // 替换换行符为 <br>
},
handleDownload() { handleDownload() {
location.href = location.href =
'http://10.12.48.78:443/vehicle-quality-review-oss/2024/10/17/SchemeTemplate.zip' 'http://60.30.69.55:8834/vehicle-quality-review-oss/2024/10/17/SchemeTemplate.zip'
}, },
handleCilck(key) { handleCilck(key) {
this.$refs.queryForm.clearValidate(key) this.$refs.queryForm.clearValidate(key)
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
<span style=" font-weight: bold;">查看评审(+ {{ formatAction(this.pageData) }}</span> <span style=" font-weight: bold;">查看评审(+ {{ formatAction(this.pageData) }}</span>
<span style="margin-right: 150px;font-size: 13px;">参与评审人员: {{ this.pageData.reviewer }}</span> <span style="margin-right: 150px;font-size: 13px;">参与评审人员: {{ this.pageData.reviewer }}</span>
</div> </div>
<div style="padding: 0 20px;"> <div style="padding: 0 20px;">
<div class="title"> <div class="title">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment