Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage-go
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tracing
source-trace-manage-go
Commits
c396dd58
Commit
c396dd58
authored
Aug 09, 2021
by
wcmoon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复财政厅项目文件上传bug;修改财政厅项目接口请求地址
parent
a2b86b9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
UrlPrefix.js
src/config/UrlPrefix.js
+5
-6
editTemplate.vue
src/entry/czt/views/template/editTemplate.vue
+4
-2
No files found.
src/config/UrlPrefix.js
View file @
c396dd58
...
...
@@ -171,8 +171,8 @@ const configModules = {
},
// 财政厅--测试环境--------------------------------------------------------------------
"czt_test"
:
{
CHAIN_BROWSER_URL_PREFIX
:
'http://1
20.26.174.69:8998
/'
,
INERFACE_URL_PREFIX
:
'http://1
24.71.144.118
:46789'
,
CHAIN_BROWSER_URL_PREFIX
:
'http://1
39.159.182.207:8081
/'
,
INERFACE_URL_PREFIX
:
'http://1
39.159.182.207
:46789'
,
INDEX
:
{
entry
:
'./src/entry/czt/main.ts'
,
template
:
'./public/czt/index.html'
,
...
...
@@ -181,8 +181,8 @@ const configModules = {
},
// 财政厅--正式环境(待修改)
"czt_prod"
:
{
CHAIN_BROWSER_URL_PREFIX
:
'http://1
20.26.174.69:8998
/'
,
INERFACE_URL_PREFIX
:
'http://1
24.71.144.118
:46789'
,
CHAIN_BROWSER_URL_PREFIX
:
'http://1
39.159.182.207:8081
/'
,
INERFACE_URL_PREFIX
:
'http://1
39.159.182.207
:46789'
,
INDEX
:
{
entry
:
'./src/entry/czt/main.ts'
,
template
:
'./public/czt/index.html'
,
...
...
@@ -238,4 +238,4 @@ const configModules = {
}
},
};
exports
.
model
=
configModules
[
process
.
env
.
VUE_APP_CURRENTMODE
]
\ No newline at end of file
exports
.
model
=
configModules
[
process
.
env
.
VUE_APP_CURRENTMODE
]
src/entry/czt/views/template/editTemplate.vue
View file @
c396dd58
...
...
@@ -276,6 +276,7 @@ export default class editTemplate extends Vue {
public
files
=
[];
public
prehash
=
''
;
public
basehash
=
''
;
public
successAmount
=
0
;
// 系统模板>建立个人模板or建立存证
// 个人模板>建立存证or更新模板
// 建立存证>保存存证or保存模板
...
...
@@ -995,8 +996,8 @@ export default class editTemplate extends Vue {
url
:
GO_URLS
.
chunkUpload
,
params
:
current
,
});
let
{
current_seq
}
=
res
.
data
;
if
(
current_seq
===
length
)
{
this
.
successAmount
+=
1
;
if
(
this
.
successAmount
===
length
)
{
this
.
mergeChunkFile
(
current
);
}
}
...
...
@@ -1014,6 +1015,7 @@ export default class editTemplate extends Vue {
});
}
public
fileChange
(
e
:
any
)
{
this
.
successAmount
=
0
;
if
(
!
e
.
target
.
files
)
{
this
.
$message
(
"请上传文件"
);
return
;
...
...
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