Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
traceSourceMb
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
yanyanhong
traceSourceMb
Commits
e1748a7b
Commit
e1748a7b
authored
Sep 27, 2020
by
yyh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建存证时候,选择模板取消必选,未选择模板,进入自定义模板页面
parent
a1be223b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
Index.vue
src/views/proof/Index.vue
+4
-0
AddBaseinfo.vue
src/views/proof/components/AddBaseinfo.vue
+5
-5
No files found.
src/views/proof/Index.vue
View file @
e1748a7b
...
...
@@ -130,6 +130,10 @@ export default class Index extends Vue {
private
preProof
:
any
=
''
;
private
isZengliang
:
boolean
=
false
;
private
async
addProofHandler
()
{
const
{
name
}
=
this
.
templateInfo
;
if
(
!
name
)
{
return
this
.
$router
.
push
({
path
:
'addTemplate'
})
}
let
query
:
any
=
{
templateId
:
this
.
templateInfo
.
id
,
proofName
:
this
.
proofName
,
...
...
src/views/proof/components/AddBaseinfo.vue
View file @
e1748a7b
...
...
@@ -9,7 +9,7 @@
<header>
<common-svg
name=
"shanchu5"
@
click
.
native=
"cancle"
></common-svg>
<div>
创建存证
</div>
<div
style=
"color:#B6B5BA;font-size:16px;"
@
click=
"next"
:style=
"
(proofName && templateInfo.name)
?
{color: '#3F79FE'} : {}">下一步
</div>
<div
style=
"color:#B6B5BA;font-size:16px;"
@
click=
"next"
:style=
"
proofName
?
{color: '#3F79FE'} : {}">下一步
</div>
</header>
<van-field
:value=
"proofName"
placeholder=
"填写存证名称"
@
input=
"change"
></van-field>
<div
style=
""
>
...
...
@@ -60,10 +60,10 @@ export default class AddBaseinfo extends Vue {
}
private
next
()
{
const
{
proofName
,
templateInfo
:
{
name
}}
=
this
;
if
(
!
name
)
{
this
.
$toast
(
'请选择模板'
);
return
;
}
//
if (!name) {
//
this.$toast('请选择模板');
//
return;
//
}
if
(
!
proofName
)
{
this
.
$toast
(
'请填写存证名称'
);
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