Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
7c33f78b
Commit
7c33f78b
authored
Jul 14, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
03131675
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
36 deletions
+45
-36
billquery.vue
src/pages/user/billquery.vue
+45
-36
No files found.
src/pages/user/billquery.vue
View file @
7c33f78b
...
...
@@ -76,40 +76,40 @@
</
template
>
<
template
v-slot:body-cell-optioned=
"props"
>
<q-td
:props=
"props"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"修改"
<q-btn
flat
size=
"xs"
v-if=
"IsEditEduReceipAudit"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"修改"
@
click=
"getCurrentAuditMan(props.row)"
/>
<q-popup-proxy
v-if=
"isShowEdit"
>
<q-banner>
<div
class=
"billDialog"
>
<div
v-for=
"(item,index) in AuditList"
class=
"col row"
style=
"margin-top:20px;"
>
<div
class=
"col-5"
style=
"align-items:center;"
>
<q-select
v-model=
"item.AuditEmId"
:options=
"EmployeeList"
filled
disable
option-label=
"EmployeeName"
option-value=
"Id"
ref=
"EmployeeName"
class=
"col-6"
emit-value
map-options
>
</q-select>
</div>
<span
style=
"margin:20px;"
>
-
</span>
<div
class=
"col-5"
>
<q-select
v-model=
"item.NewAuditEmId"
:options=
"EmployeeList"
filled
clearable
use-input
label=
"审核人员"
option-label=
"EmployeeName"
option-value=
"Id"
ref=
"EmployeeName"
class=
"col-6"
emit-value
map-options
@
filter=
"filterFn"
>
<template
v-slot:no-option
>
<q-item>
<q-item-section
class=
"text-grey"
>
未找到相关数据
</q-item-section>
</q-item>
</
template
>
</q-select>
</div>
<q-popup-proxy
v-if=
"isShowEdit"
>
<q-banner>
<div
class=
"billDialog"
>
<div
v-for=
"(item,index) in AuditList"
class=
"col row"
style=
"margin-top:20px;"
>
<div
class=
"col-5"
style=
"align-items:center;"
>
<q-select
v-model=
"item.AuditEmId"
:options=
"EmployeeList"
filled
disable
option-label=
"EmployeeName"
option-value=
"Id"
ref=
"EmployeeName"
class=
"col-6"
emit-value
map-options
>
</q-select>
</div>
<span
style=
"margin:20px;"
>
-
</span>
<div
class=
"col-5"
>
<q-select
v-model=
"item.NewAuditEmId"
:options=
"EmployeeList"
filled
clearable
use-input
label=
"审核人员"
option-label=
"EmployeeName"
option-value=
"Id"
ref=
"EmployeeName"
class=
"col-6"
emit-value
map-options
@
filter=
"filterFn"
>
<template
v-slot:no-option
>
<q-item>
<q-item-section
class=
"text-grey"
>
未找到相关数据
</q-item-section>
</q-item>
</
template
>
</q-select>
</div>
</div>
</q-banner>
<q-card-actions
align=
"right"
class=
"bg-white"
>
<q-btn
label=
"取消"
flat
color=
"grey-10"
@
click=
"isShowEdit=false"
style=
"font-weight:400 !important"
/>
<q-btn
label=
"确认"
color=
"accent q-px-md"
style=
"font-weight:400 !important"
@
click=
"saveBill"
/>
</q-card-actions>
</q-popup-proxy>
</div>
</q-banner>
<q-card-actions
align=
"right"
class=
"bg-white"
>
<q-btn
label=
"取消"
flat
color=
"grey-10"
@
click=
"isShowEdit=false"
style=
"font-weight:400 !important"
/>
<q-btn
label=
"确认"
color=
"accent q-px-md"
style=
"font-weight:400 !important"
@
click=
"saveBill"
/>
</q-card-actions>
</q-popup-proxy>
</q-btn>
<q-btn
flat
size=
"xs"
icon=
"iconfont icon-View"
color=
"accent"
style=
"font-weight:400"
label=
"查看"
@
click=
"showBillForm(props.row,1)"
/>
...
...
@@ -238,11 +238,20 @@
isShowEdit
:
false
,
AuditList
:
[],
//角色数组
EmployeeList
:
[],
AllemployeeList
:
[]
AllemployeeList
:
[],
IsEditEduReceipAudit
:
false
,
//是否有修改审核人权限
}
},
created
()
{
var
localStorageData
=
window
.
localStorage
[
"loginUserInfo"
];
let
ActionMenuList
=
JSON
.
parse
(
localStorageData
).
data
.
ActionMenuList
if
(
ActionMenuList
&&
ActionMenuList
.
length
>
0
)
{
ActionMenuList
.
forEach
(
x
=>
{
if
(
x
.
FunctionCode
==
'Edit_EduReceipAudit'
)
{
this
.
IsEditEduReceipAudit
=
true
;
}
})
}
},
mounted
()
{
this
.
currentUrl
=
this
.
$route
.
path
;
...
...
@@ -284,7 +293,7 @@
}
this
.
showType
=
type
;
this
.
billObj
=
item
;
this
.
isShowEdit
=
false
;
this
.
isShowEdit
=
false
;
},
//重新查询
resetSearch
()
{
...
...
@@ -372,10 +381,10 @@
//保存
saveBill
()
{
saveAuditMan
({
Info
:
this
.
AuditList
Info
:
this
.
AuditList
}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
isShow
=
false
;
this
.
isShow
=
false
;
this
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
...
...
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