Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
voucher-h5
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘琦
voucher-h5
Commits
b2fe5f61
Commit
b2fe5f61
authored
Nov 26, 2019
by
潘琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加签约驳回详情页;
parent
b2610c7a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
7 deletions
+31
-7
wxTemplate.js
src/api/wxTemplate/wxTemplate.js
+10
-0
adopt.vue
src/views/wxTemplate/adopt.vue
+21
-7
No files found.
src/api/wxTemplate/wxTemplate.js
0 → 100644
View file @
b2fe5f61
import
request
from
'@/router/requestSjkg'
// 根据签约ID获取该签约驳回理由数据
export
function
getSignFailedMsg
(
params
)
{
return
request
({
url
:
'/v1/voucher/signFailedMsg'
,
method
:
'GET'
,
params
:
params
})
}
src/views/wxTemplate/adopt.vue
View file @
b2fe5f61
...
@@ -5,14 +5,14 @@
...
@@ -5,14 +5,14 @@
<span
class=
"label"
>
审核不通过原因:
</span>
<span
class=
"label"
>
审核不通过原因:
</span>
</div>
</div>
<div
class=
"block"
>
<div
class=
"block"
>
<ol>
<ol
v-if=
"data.length > 0"
>
<li>
身份证不符
</li>
<li
v-for=
"(item, index) in data"
:key=
"index"
>
{{
item
}}
</li>
<li>
身份证不符
</li>
</ol>
</ol>
<h4
v-else
class=
"text-center"
>
暂无数据!
</h4>
</div>
</div>
<div
class=
"block"
>
<
!--
<
div
class=
"block"
>
<textarea
disabled=
"true"
rows=
"
4"
>
aaaa
</textarea>
<textarea
disabled=
"true"
rows=
"
5"
>
{{}}
</textarea>
</div>
</div>
-->
<div
class=
"footer"
>
<div
class=
"footer"
>
<button
class=
"confirm-btn"
@
click=
"handelConfirm"
>
我知道了
</button>
<button
class=
"confirm-btn"
@
click=
"handelConfirm"
>
我知道了
</button>
</div>
</div>
...
@@ -22,16 +22,19 @@
...
@@ -22,16 +22,19 @@
<
script
>
<
script
>
// import { getStore } from '@/util/store'
// import { getStore } from '@/util/store'
// import { getUserCard } from '@/api/apply/apply
'
import
{
getSignFailedMsg
}
from
'@/api/wxTemplate/wxTemplate
'
const
wx
=
require
(
'weixin-js-sdk'
)
const
wx
=
require
(
'weixin-js-sdk'
)
export
default
{
export
default
{
name
:
'adoptTemplate'
,
name
:
'adoptTemplate'
,
data
()
{
data
()
{
return
{
return
{
signId
:
this
.
$route
.
query
.
signId
,
data
:
[]
}
}
},
},
created
()
{
created
()
{
this
.
getSignFailedMsgFn
()
},
},
mounted
:
function
()
{
mounted
:
function
()
{
},
},
...
@@ -40,6 +43,14 @@ export default {
...
@@ -40,6 +43,14 @@ export default {
components
:
{
components
:
{
},
},
methods
:
{
methods
:
{
getSignFailedMsgFn
()
{
let
params
=
{
signId
:
this
.
signId
}
getSignFailedMsg
(
params
).
then
(
res
=>
{
this
.
data
=
res
.
data
.
codeMsg
})
},
handelConfirm
()
{
handelConfirm
()
{
wx
.
closeWindow
()
wx
.
closeWindow
()
}
}
...
@@ -92,4 +103,7 @@ export default {
...
@@ -92,4 +103,7 @@ export default {
padding
:
0.7em
0
;
padding
:
0.7em
0
;
font-size
:
1.2em
;
font-size
:
1.2em
;
}
}
.text-center
{
text-align
:
center
;
}
</
style
>
</
style
>
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