Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
3b7782ac
Commit
3b7782ac
authored
Jul 17, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:修改应用文档下载
parent
d3328e22
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5063 additions
and
5442 deletions
+5063
-5442
portal-manager-ui/admin/package.json
portal-manager-ui/admin/package.json
+0
-1
portal-manager-ui/admin/src/views/thePlatformIsSet/components/applService.vue
...min/src/views/thePlatformIsSet/components/applService.vue
+1
-0
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/appManage/application.vue
...onents/productManage/components/appManage/application.vue
+4
-11
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/docData/fileData.vue
.../components/productManage/components/docData/fileData.vue
+3
-2
portal-manager-ui/admin/vue.config.js
portal-manager-ui/admin/vue.config.js
+1
-19
portal-manager-ui/admin/yarn.lock
portal-manager-ui/admin/yarn.lock
+5054
-5409
No files found.
portal-manager-ui/admin/package.json
View file @
3b7782ac
...
...
@@ -38,7 +38,6 @@
"@vue/cli-service"
:
"~5.0.0"
,
"browserslist"
:
"^4.21.4"
,
"caniuse-lite"
:
"^1.0.30001442"
,
"filemanager-webpack-plugin"
:
"^8.0.0"
,
"less"
:
"^4.0.0"
,
"less-loader"
:
"^8.0.0"
,
"postcss"
:
"^8.4.12"
,
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/applService.vue
View file @
3b7782ac
...
...
@@ -45,6 +45,7 @@
<div
class=
"list flex aic jcb"
v-for=
"(i, j) in listArr[active].curInfo"
:key=
"j"
>
<div
class=
"app-name"
>
{{
i
.
appName
}}
</div>
<img
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/appManage/application.vue
View file @
3b7782ac
...
...
@@ -2,11 +2,7 @@
<div
class=
"PoliticsShow-Container"
>
<div
class=
"header_box"
>
<div>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"openDetails()"
>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"openDetails()"
>
<span>
新增
</span>
</a-button>
</div>
...
...
@@ -30,10 +26,7 @@
</a-select-option>
</a-select>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"getList()"
<a-button
type=
"primary"
class=
"addclass"
@
click=
"getList()"
>
搜索
</a-button
>
</span>
...
...
@@ -50,7 +43,7 @@
:columns="tableHeaders"
:dataSource="tableSourceData"
>
<template
slot=
"operation"
slot-scope=
"text, record
, index
"
>
<template
slot=
"operation"
slot-scope=
"text, record"
>
<a-button
type=
"link"
v-if=
"record.appFileUrl"
...
...
@@ -197,7 +190,7 @@ export default {
handleDowload
(
url
)
{
let
arr
=
url
.
split
(
"
/
"
);
const
a
=
document
.
createElement
(
"
a
"
);
a
.
href
=
process
.
env
.
VUE_APP_API_BASE_URL
+
"
/
"
+
url
;
a
.
href
=
url
;
a
.
download
=
arr
[
arr
.
length
-
1
];
a
.
click
();
},
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/docData/fileData.vue
View file @
3b7782ac
...
...
@@ -31,7 +31,7 @@
:columns="tableHeaders"
:dataSource="tableSourceData"
>
<template
slot=
"operation"
slot-scope=
"text, record
, index
"
>
<template
slot=
"operation"
slot-scope=
"text, record"
>
<a-button
type=
"link"
v-if=
"record.docFileUrl"
...
...
@@ -161,8 +161,9 @@ export default {
},
handleDowload
(
url
)
{
let
arr
=
url
.
split
(
"
/
"
);
console
.
log
(
process
.
env
.
VUE_APP_API_BASE_URL
+
"
/
"
+
url
);
const
a
=
document
.
createElement
(
"
a
"
);
a
.
href
=
process
.
env
.
VUE_APP_API_BASE_URL
+
"
/
"
+
url
;
a
.
href
=
url
;
a
.
download
=
arr
[
arr
.
length
-
1
];
a
.
click
();
},
...
...
portal-manager-ui/admin/vue.config.js
View file @
3b7782ac
const
{
defineConfig
}
=
require
(
"
@vue/cli-service
"
);
const
FileManagerPlugin
=
require
(
"
filemanager-webpack-plugin
"
);
// 压缩文件夹
const
isDev
=
process
.
env
.
NODE_ENV
===
"
development
"
;
let
plugins
=
[];
// 避免打本地启项目时自动打zip包
if
(
!
isDev
)
{
plugins
.
push
(
new
FileManagerPlugin
({
events
:
{
onEnd
:
{
// mkdir: ["./dist"],
delete
:
[
"
./zip/
"
],
copy
:
[{
source
:
"
./dist
"
,
destination
:
"
./zip/dist
"
}],
archive
:
[{
source
:
"
./zip
"
,
destination
:
"
./zip/门户系统.zip
"
}],
},
},
})
);
}
module
.
exports
=
defineConfig
({
transpileDependencies
:
true
,
lintOnSave
:
false
,
// 打包目录
outputDir
:
"
dist
"
,
configureWebpack
:
{
plugins
:
[
...
plugins
],
plugins
:
[],
},
devServer
:
{
proxy
:
{
...
...
portal-manager-ui/admin/yarn.lock
View file @
3b7782ac
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment