Commit 8057eef9 by tang

feat: 文件路径404修改

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