Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
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
xugong
hls-xcmg-vue-app
Commits
bb3f0260
Commit
bb3f0260
authored
Oct 10, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改44\45
parent
14a5dfe7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
28 deletions
+32
-28
base.vue
src/pages/intoApproval/intoApproval/base.vue
+32
-28
No files found.
src/pages/intoApproval/intoApproval/base.vue
View file @
bb3f0260
...
...
@@ -181,7 +181,7 @@
<img
src=
"@/assets/intoApproval/introduce.png"
>
<span>
{{
item
.
bp_name
}}
</span>
<br
>
<span>
{{
item
.
organization_code
}}
</span>
<span>
{{
item
.
bp_class
==
'NP'
?
item
.
id_card_no
:
item
.
organization_code
}}
</span>
</div>
</item>
</list-item>
...
...
@@ -277,7 +277,7 @@
<img
src=
"@/assets/intoApproval/introduce.png"
>
<span
:title=
"item.bp_name"
>
{{
item
.
bp_name
}}
</span>
<br
>
<span>
{{
item
.
organization_code
}}
</span>
<span>
{{
item
.
bp_class
==
'NP'
?
item
.
id_card_no
:
item
.
organization_code
}}
</span>
</div>
</item>
</list-item>
...
...
@@ -304,7 +304,9 @@
<img
src=
"@/assets/intoApproval/approve.png"
>
审批
</tab-button>
</bottom-tab>
<h-modal
ref=
"modal"
v-model=
"showModalValue"
position=
"bottom"
cus-class=
"sign-modal"
>
<h-modal
v-if=
"confirm_status!=='APPROVED'"
ref=
"modal"
v-model=
"showModalValue"
position=
"bottom"
cus-class=
"sign-modal"
>
<h-view>
<h-content
class=
"approveContent"
>
<div
class=
"approveBottom"
>
...
...
@@ -315,7 +317,7 @@
<textarea
v-model=
"confirm_note"
cols=
"8"
rows=
"20"
placeholder=
"请输入"
/>
</div>
</h-content>
<bottom-tab>
<bottom-tab
v-if=
"confirm_status!=='APPROVED'"
>
<tab-button
class=
"reject"
@
click
.
native=
"showModalValue=true;confirm_status='REJECTED';charge('拒绝')"
>
<img
src=
"@/assets/intoApproval/reject.png"
>
拒绝
</tab-button>
...
...
@@ -412,7 +414,9 @@ export default {
},
mounted
()
{
this
.
getBonds
()
this
.
popProtocol
()
if
(
this
.
confirm_status
!==
'APPROVED'
)
{
this
.
popProtocol
()
}
this
.
getList
()
this
.
isConfirm
=
this
.
$route
.
params
.
isConfirm
},
...
...
@@ -524,31 +528,31 @@ export default {
content
:
`您确认
${
val
}
吗?`
,
onConfirm
:
(
data
)
=>
{
console
.
log
(
data
)
if
(
val
===
'拒绝'
)
{
//
if (val === '拒绝') {
}
else
{
if
(
data
)
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'do_confrim_bp'
let
param
=
{
'master'
:
{
confirm_id
:
window
.
sessionStorage
.
confirm_id
,
confirm_status
:
this
.
confirm_status
,
confirm_note
:
this
.
confirm_note
,
},
}
vm
.
hlsPopup
.
showLoading
(
'提交数据中!'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
showSuccess
(
'审批成功'
)
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'IntoList'
,
})
}
})
// } else {
if
(
data
)
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'do_confrim_bp'
let
param
=
{
'master'
:
{
confirm_id
:
window
.
sessionStorage
.
confirm_id
,
confirm_status
:
this
.
confirm_status
,
confirm_note
:
this
.
confirm_note
,
},
}
vm
.
hlsPopup
.
showLoading
(
'提交数据中!'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
showSuccess
(
`审批成功,已
${
val
}
`
)
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'IntoList'
,
})
}
})
}
// }
},
})
},
...
...
@@ -643,7 +647,7 @@ export default {
text-overflow: ellipsis;
white-space: nowrap;
width: 150px;
margin-top: -10px;
//
margin-top: -10px;
}
.right span:last-child {
margin-top: 7px;
...
...
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