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
ded5562a
Commit
ded5562a
authored
May 08, 2021
by
wcmoon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复存证改名后修改,验真无效问题
parent
fb546914
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
editTemplate.vue
src/entry/czt/views/template/editTemplate.vue
+10
-0
No files found.
src/entry/czt/views/template/editTemplate.vue
View file @
ded5562a
...
@@ -404,6 +404,13 @@ export default class editTemplate extends Vue {
...
@@ -404,6 +404,13 @@ export default class editTemplate extends Vue {
}
}
}
else
if
(
res
.
data
.
detail
!==
""
)
{
}
else
if
(
res
.
data
.
detail
!==
""
)
{
this
.
files
=
[];
this
.
files
=
[];
let
root
:
any
=
[];
JSON
.
parse
(
res
.
data
.
detail
).
forEach
((
item
:
any
)
=>
{
if
(
item
.
label
===
'ext'
)
{
root
.
push
(
item
);
}
})
this
.
rootUnitList
=
formatTemplateApi2Local
(
root
);
let
data
=
JSON
.
parse
(
res
.
data
.
detail
)[
0
];
let
data
=
JSON
.
parse
(
res
.
data
.
detail
)[
0
];
for
(
let
i
=
0
;
i
<
this
.
allTypes
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
allTypes
.
length
;
i
++
)
{
if
(
this
.
allTypes
[
i
][
0
]
===
data
.
label
)
{
if
(
this
.
allTypes
[
i
][
0
]
===
data
.
label
)
{
...
@@ -593,6 +600,9 @@ export default class editTemplate extends Vue {
...
@@ -593,6 +600,9 @@ export default class editTemplate extends Vue {
}
}
newDetail
.
unshift
(
this
.
getSaveParams
());
newDetail
.
unshift
(
this
.
getSaveParams
());
let
note
=
JSON
.
parse
(
this
.
localData
);
note
.
evidenceName
=
this
.
templateName
;
this
.
localData
=
JSON
.
stringify
(
note
);
const
res
=
await
this
.
$ajax
({
const
res
=
await
this
.
$ajax
({
type
:
"put"
,
type
:
"put"
,
...
...
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