Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
exhibition_backstage
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
龙菲
exhibition_backstage
Commits
6ab6928c
提交
6ab6928c
authored
7月 05, 2023
作者:
龙菲
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix:修复文物导出和展览导出的问题
上级
cff1c905
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
12 行增加
和
11 行删除
+12
-11
文物导入模板及操作说明.zip
public/static/文物导入模板及操作说明.zip
+0
-0
index.vue
src/views/culturalRelic/index.vue
+5
-2
index.vue
src/views/display/index.vue
+5
-3
vue.config.js
vue.config.js
+2
-6
没有找到文件。
public/static/文物导入模板及操作说明.zip
deleted
100644 → 0
浏览文件 @
cff1c905
File deleted
src/views/culturalRelic/index.vue
浏览文件 @
6ab6928c
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
v-loading=
"loading"
>
<div
class=
"top-bar"
>
<div
class=
"top-bar"
>
<SearchBar
:config=
"searchConfig"
@
search=
"search"
@
reset=
"reset"
/>
<SearchBar
:config=
"searchConfig"
@
search=
"search"
@
reset=
"reset"
/>
</div>
</div>
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
type=
"primary"
type=
"primary"
@
click
.
native=
"handleOperation(
{ type: 'downloadTemplate' })"
@
click
.
native=
"handleOperation(
{ type: 'downloadTemplate' })"
icon="el-icon-download"
icon="el-icon-download"
:disabled="loading"
>
>
下载导入模板
</el-button
下载导入模板
</el-button
>
>
...
@@ -358,13 +359,15 @@ export default {
...
@@ -358,13 +359,15 @@ export default {
//下载批量导入模板
//下载批量导入模板
handleDownloadTemplate
()
{
handleDownloadTemplate
()
{
this
.
loading
=
true
let
a
=
document
.
createElement
(
"a"
);
let
a
=
document
.
createElement
(
"a"
);
a
.
href
=
"./static/文物导入模板及操作说明.zip"
;
a
.
href
=
'/files/zip/crImportTemplate.zip'
a
.
download
=
"文物导入模板及操作说明.zip"
;
a
.
download
=
"文物导入模板及操作说明.zip"
;
a
.
style
.
display
=
"none"
;
a
.
style
.
display
=
"none"
;
document
.
body
.
appendChild
(
a
);
document
.
body
.
appendChild
(
a
);
a
.
click
();
a
.
click
();
a
.
remove
();
a
.
remove
();
this
.
loading
=
false
},
},
// // 文件个数超出
// // 文件个数超出
...
...
src/views/display/index.vue
浏览文件 @
6ab6928c
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
v-loading=
"loading"
>
<div
class=
"top-bar"
>
<div
class=
"top-bar"
>
<SearchBar
:config=
"searchConfig"
@
search=
"search"
@
reset=
"reset"
/>
<SearchBar
:config=
"searchConfig"
@
search=
"search"
@
reset=
"reset"
/>
<!--
<el-button
<!--
<el-button
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</div>
</div>
<div
class=
"tools"
>
<div
class=
"tools"
>
<div
class=
"tools-item"
>
<div
class=
"tools-item"
>
<el-button
type=
"primary"
@
click
.
native=
"handleOperation(
{ type: 'downloadTemplate' })" icon="el-icon-download">
<el-button
:disabled=
"loading"
type=
"primary"
@
click
.
native=
"handleOperation(
{ type: 'downloadTemplate' })" icon="el-icon-download">
下载导入模板
</el-button>
下载导入模板
</el-button>
<el-button
type=
"primary"
@
click
.
native=
"handleOperation(
{ type: 'viewImportRecord' })" icon="el-icon-document">
<el-button
type=
"primary"
@
click
.
native=
"handleOperation(
{ type: 'viewImportRecord' })" icon="el-icon-document">
...
@@ -371,13 +371,15 @@ export default {
...
@@ -371,13 +371,15 @@ export default {
//下载批量导入模板
//下载批量导入模板
handleDownloadTemplate
()
{
handleDownloadTemplate
()
{
this
.
loading
=
true
let
a
=
document
.
createElement
(
"a"
);
let
a
=
document
.
createElement
(
"a"
);
a
.
href
=
"./static/展览导入模板.zip"
;
a
.
href
=
'/files/zip/displayImportTemplate.zip'
a
.
download
=
"展览整量导入模板.zip"
;
a
.
download
=
"展览整量导入模板.zip"
;
a
.
style
.
display
=
"none"
;
a
.
style
.
display
=
"none"
;
document
.
body
.
appendChild
(
a
);
document
.
body
.
appendChild
(
a
);
a
.
click
();
a
.
click
();
a
.
remove
();
a
.
remove
();
this
.
loading
=
false
},
},
uploadSelf
(
file
,
index
)
{
uploadSelf
(
file
,
index
)
{
...
...
vue.config.js
浏览文件 @
6ab6928c
...
@@ -40,20 +40,16 @@ module.exports = {
...
@@ -40,20 +40,16 @@ module.exports = {
},
},
proxy
:
{
proxy
:
{
'/api'
:
{
'/api'
:
{
// target: 'http://172.24.100.109:8080/',
// target:'http://172.24.100.46:8080',
// target:'http://222.85.214.245:9603/api',
// target:'http://192.168.1.230:9603/api',
target
:
'http://114.115.157.218:9603/api'
,
//生产
target
:
'http://114.115.157.218:9603/api'
,
//生产
// target:'http://192.168.1.230:9603/api',//公司服务器
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
'^/api'
:
''
'^/api'
:
''
}
}
},
},
'/files'
:
{
'/files'
:
{
// target: 'http://192.168.1.230:9604/files',
// target: 'http://222.85.214.245:9604/files',
target
:
'http://114.115.157.218:9603/files'
,
//生产
target
:
'http://114.115.157.218:9603/files'
,
//生产
// target: 'http://192.168.1.230:9603/files',//公司服务器
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
'^/files'
:
''
'^/files'
:
''
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论