Commit 8057eef9 by tang

feat: 文件路径404修改

parent 0bcd6429
......@@ -81,7 +81,7 @@
"
>
线上办理:登录中国商品信息服务平台,从“应用市场—条码商桥”处下单,即时支付即时下载。<a
:href="`${urls.file}manage/down/2021jpdz.pdf`"
:href="`${file}manage/down/2021jpdz.pdf`"
target="_blank"
style="color: Red"
>查看操作指南</a
......@@ -118,6 +118,7 @@ export default {
},
data() {
return {
file: '',
wybmCate: {
name: "我要编码",
ico: "",
......@@ -142,6 +143,7 @@ export default {
},
},
mounted() {
this.file = window.location.protocol + '//' + window.location.hostname + ':9091/office/uploadFileResource/'
if (this.$route.query.id) {
setTimeout(() => {
const top = this.$refs[this.$route.query.id].offsetTop;
......
......@@ -110,7 +110,7 @@
<div class="fileDownload">
<p>
<img src="../../assets/image/business/ico-download.png" alt="" />
<img src="../../assets/image/business/ico-download.png" alt=""/>
参考资料:
</p>
......@@ -118,7 +118,7 @@
<li>
<p>
<a
:href="`${urls.file}Manage/down/基于商品条码(GS1)标准的医疗器械唯一标识(UDI)实施指南.pdf`"
:href="`${file}Manage/down/基于商品条码(GS1)标准的医疗器械唯一标识(UDI)实施指南.pdf`"
target="_blank"
>1.基于商品条码(GS1)标准的医疗器械唯一标识(UDI)实施指南</a
>
......@@ -127,7 +127,7 @@
<li>
<p>
<a
:href="`${urls.file}Manage/down/基于商品条码(GS1)标准的医疗器械唯一标识(UDI)系统实施常见问题.pdf`"
:href="`${file}Manage/down/基于商品条码(GS1)标准的医疗器械唯一标识(UDI)系统实施常见问题.pdf`"
target="_blank"
>2.基于商品条码(GS1)标准的医疗器械唯一标识(UDI)系统实施常见问题</a
>
......@@ -149,17 +149,17 @@
</template>
<script>
import cate from "../comps/cate.vue";
import { mapState } from "vuex";
export default {
components: {
cate,
},
computed: {
...mapState(["urls"]),
mounted() {
this.file = window.location.protocol + '//' + window.location.hostname + ':9091/office/uploadFileResource/'
},
data() {
return {
file: '',
udiCate: {
name: "我要申请医疗器械唯一标识(UDI)",
ico: "",
......@@ -175,24 +175,30 @@ export default {
.corppay {
@include module-box;
line-height: 30px;
.corppay-msg {
margin: 30px 0;
font-size: 14px;
.msg-title {
color: #008dbd;
margin-bottom: 20px;
&.actived {
color: #04408d;
}
}
p {
font-size: 14px;
text-indent: 25px;
}
a {
color: #008dbd;
text-decoration: none;
}
ul {
margin: 0;
padding: 0;
......@@ -203,21 +209,25 @@ export default {
margin-inline-end: 0px;
padding-left: 40px;
}
.mainTxt, .fileDownload {
p {
text-indent: 0;
}
}
.fileDownload {
img {
width: 16px;
}
}
table {
table-layout: fixed;
font-size: 14px;
max-width: 100%;
background-color: transparent;
tbody {
tr {
&:nth-child(odd) {
......@@ -228,11 +238,13 @@ export default {
}
}
}
thead {
border: 1px solid #b2b2b8;
display: table-header-group;
vertical-align: middle;
box-sizing: border-box;
tr {
th {
text-align: center;
......@@ -245,43 +257,51 @@ export default {
display: table-row-group;
vertical-align: middle;
box-sizing: border-box;
tr:last-child {
td {
border-bottom: none;
}
}
}
tr {
border: 1px solid #b2b2b8;
box-sizing: border-box;
display: table-row;
vertical-align: inherit;
}
th {
border: 1px solid #b2b2b8;
text-align: center;
}
td {
border: 1px solid #b2b2b8;
text-align: center;
}
.text-explain {
li {
display: list-item;
list-style-type: disc;
}
}
.table {
tbody {
tr {
th {
border-top: none;
}
td {
border-top: none;
}
}
}
thead {
tr {
th {
......@@ -289,6 +309,7 @@ export default {
vertical-align: bottom;
}
}
&:first-child {
tr {
&:first-child {
......@@ -300,12 +321,14 @@ export default {
}
}
}
.table-striped {
tbody {
tr:nth-child(odd) {
th {
background-color: #f5f5f5;
}
td {
background-color: #f5f5f5;
}
......
......@@ -2,7 +2,7 @@
<div class="search-content">
<div class="banner-box">
<img src="./img/query_external_banner.jpeg"
@click="openUrl(`${urls.file}Manage/down/Import_Data_Guideline.pdf`)"/>
@click="openUrl(`${file}Manage/down/Import_Data_Guideline.pdf`)"/>
</div>
<div class="title">境外条码信息查询</div>
<div class="body">
......@@ -80,10 +80,10 @@ import validation from "@/views/Search/validation";
import {mapState} from "vuex";
const errorText = {
"1":'没有符合条件的记录!',
"2":'未找到该商品条码信息!',
"10":'厂商识别代码已注销!',
"14":'搜索频率过多!',
"1": '没有符合条件的记录!',
"2": '未找到该商品条码信息!',
"10": '厂商识别代码已注销!',
"14": '搜索频率过多!',
}
export default {
mixins: [validation],
......@@ -93,11 +93,15 @@ export default {
searchCodeShow: "",
showResult: false,
result: null,
file: '',
};
},
computed: {
...mapState(["urls"]),
},
mounted(){
this.file = window.location.protocol + '//' + window.location.hostname + ':9091/office/uploadFileResource/'
},
methods: {
openUrl(url) {
window.open(url, '_blank')
......
......@@ -158,12 +158,14 @@
<p><i class="bi bi-cloud-download" style="color: #008dbd;margin-right: 4px;"></i>附件:</p>
<ul style="list-style: none;">
<li><p><a :href="`${urls.file}Service/Partners/download/关于开展GS1标准服务提供商项目的通知.pdf`">一、关于开展GS1标准服务提供商项目的通知</a></p></li>
<li><p><a :href="`${urls.file}Service/Partners/download/GS1标准服务提供商项目规则.pdf`">二、GS1标准服务提供商项目规则</a></p></li>
<li><p><a :href="`${urls.file}Service/Partners/download/GS1标准服务提供商准入审核标准.pdf`">三、GS1标准服务提供商准入审核标准</a></p></li>
<li><p><a :href="`${urls.file}Service/Partners/download/GS1标准服务提供商注册登记表.pdf`">四、GS1标准服务提供商注册登记表</a></p></li>
<li><p><a :href="`${urls.file}Service/Partners/download/GS1标准服务提供商续期审核标准.pdf`">五、GS1标准服务提供商续期审核标准</a></p></li>
<li><p><a :href="`${urls.file}Service/Partners/download/GS1标准服务提供商信息变更登记表.pdf`">六、GS1标准服务提供商信息变更登记表</a></p></li>
<li><p><a :href="`${file}Service/Partners/download/关于开展GS1标准服务提供商项目的通知.pdf`">一、关于开展GS1标准服务提供商项目的通知</a>
</p></li>
<li><p><a :href="`${file}Service/Partners/download/GS1标准服务提供商项目规则.pdf`">二、GS1标准服务提供商项目规则</a></p></li>
<li><p><a :href="`${file}Service/Partners/download/GS1标准服务提供商准入审核标准.pdf`">三、GS1标准服务提供商准入审核标准</a></p></li>
<li><p><a :href="`${file}Service/Partners/download/GS1标准服务提供商注册登记表.pdf`">四、GS1标准服务提供商注册登记表</a></p></li>
<li><p><a :href="`${file}Service/Partners/download/GS1标准服务提供商续期审核标准.pdf`">五、GS1标准服务提供商续期审核标准</a></p></li>
<li><p><a :href="`${file}Service/Partners/download/GS1标准服务提供商信息变更登记表.pdf`">六、GS1标准服务提供商信息变更登记表</a></p>
</li>
</ul>
</div>
......@@ -186,17 +188,17 @@
</template>
<script>
import { mapState } from "vuex";
export default {
data() {
return {
file: '',
service: '全部服务行业',
serviceList: [{value: '全部服务行业'}, {value: '医疗'}, {value: '零售'}, {value: '电子商务'}, {value: '食品烟酒'}, {value: '物流'}, {value: '服装'}, {value: '快速消费品'}, {value: '消费电子产品'}, {value: '制造和零部件'}, {value: '建材'}, {value: '其他'},]
}
},
computed: {
...mapState(["urls"]),
mounted() {
this.file = window.location.protocol + '//' + window.location.hostname + ':9091/office/uploadFileResource/'
},
methods: {},
};
......
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