Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
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
胡宝山
template_vue
Commits
10c41397
Commit
10c41397
authored
Mar 05, 2024
by
孙浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改人是当前登陆人不显示审核按钮
parent
38513ad0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
oneTbale.vue
src/views/check/oneTbale.vue
+14
-8
No files found.
src/views/check/oneTbale.vue
View file @
10c41397
...
...
@@ -62,7 +62,7 @@
/>
</el-form-item>
<el-form-item
label=
"检查结果"
prop=
"approveStatus"
style=
"width: 22%"
>
<el-select
v-model=
"queryParams.jcResult"
placeholder=
"请选择"
>
<el-select
v-model=
"queryParams.jcResult"
placeholder=
"请选择"
>
<el-option
v-for=
"item in resultOptions"
:key=
"item.value"
...
...
@@ -72,7 +72,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
"审批状态"
prop=
"approveStatus"
style=
"width: 22%"
>
<el-select
v-model=
"queryParams.approveStatus"
placeholder=
"请选择"
>
<el-select
v-model=
"queryParams.approveStatus"
placeholder=
"请选择"
>
<el-option
v-for=
"item in statusOptions"
:key=
"item.value"
...
...
@@ -92,7 +92,7 @@
start-placeholder=
"开始时间"
end-placeholder=
"结束时间"
/>
</el-form-item>
</el-form-item>
<el-form-item
style=
"margin-left: 3%"
>
<el-button
:class=
"commonField.queryClass"
...
...
@@ -189,33 +189,33 @@
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"120px"
>
<
template
slot-scope=
"scope"
>
<el-button
v-show=
"scope.row.approveStatus=='1'&&loginId!=scope.row.updateBy"
:class=
"commonField.updateClass"
:type=
"commonField.typeParent"
:size=
"commonField.size"
@
click=
"handleApprove(scope.row)"
v-show=
"scope.row.approveStatus=='1'"
style=
"margin-left: 8%"
@
click=
"handleApprove(scope.row)"
>
审核
</el-button>
<el-button
v-show=
"scope.row.approveStatus=='0'||scope.row.approveStatus=='3'"
:class=
"commonField.updateClass"
:type=
"commonField.typeParent"
:size=
"commonField.size"
@
click=
"handleUpdate(scope.row)"
v-show=
"scope.row.approveStatus=='0'||scope.row.approveStatus=='3'"
>
修改
</el-button>
<el-button
v-show=
"scope.row.approveStatus=='9'||scope.row.approveStatus=='1'"
:class=
"commonField.updateClass"
:type=
"commonField.typeParent"
:size=
"commonField.size"
@
click=
"handleShow(scope.row)"
v-show=
"scope.row.approveStatus=='9'"
>
查看
</el-button>
<el-button
v-show=
"scope.row.approveStatus=='0'||scope.row.approveStatus=='3'"
:class=
"commonField.updateClass"
:type=
"commonField.typeParent"
:size=
"commonField.size"
@
click=
"handleDelete(scope.row)"
v-show=
"scope.row.approveStatus=='0'||scope.row.approveStatus=='3'"
>
关闭
</el-button>
</
template
>
</el-table-column>
...
...
@@ -241,6 +241,7 @@ import {
delIncomeInspectInfo
}
from
'@/api/oneTbale'
import
commonField
from
'@/utils/commonField'
import
{
getInfo
}
from
'@/api/login'
export
default
{
name
:
'IncomeInspectInfo'
,
data
()
{
...
...
@@ -279,6 +280,8 @@ export default {
}],
// 日期范围
dateRange
:
[],
// 当前登录人id
loginId
:
undefined
,
// 查询参数
queryParams
:
{
page
:
1
,
...
...
@@ -348,6 +351,9 @@ export default {
}
},
created
()
{
getInfo
().
then
(
res
=>
{
this
.
loginId
=
res
.
data
.
user
.
businessId
})
this
.
getList
()
// 列表查询
},
methods
:
{
...
...
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