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
bd68978c
Commit
bd68978c
authored
Mar 05, 2024
by
Hagsn3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审核
parent
10c41397
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
282 additions
and
77 deletions
+282
-77
oneTbale.js
src/api/oneTbale.js
+10
-0
oneTbale.vue
src/views/check/oneTbale.vue
+15
-4
checkList.vue
src/views/checkList.vue
+257
-73
No files found.
src/api/oneTbale.js
View file @
bd68978c
...
@@ -67,3 +67,13 @@ export function exportIncomeInspectInfo(query) {
...
@@ -67,3 +67,13 @@ export function exportIncomeInspectInfo(query) {
responseType
:
'blob'
responseType
:
'blob'
})
})
}
}
// 7.审批
export
function
approveInformation
(
data
)
{
return
request
({
url
:
'/incomeinspectinfo/approve'
,
method
:
'put'
,
data
,
headers
:
{
'Content-Type'
:
'application/json;charset=utf8'
}
})
}
src/views/check/oneTbale.vue
View file @
bd68978c
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
style=
"width: 150px"
style=
"width: 150px"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"lot number"
prop=
"jcNum"
style=
"width: 20%"
>
<el-form-item
label=
"lot number"
prop=
"jcNum"
>
<el-input
<el-input
v-model=
"queryParams.jcNum"
v-model=
"queryParams.jcNum"
placeholder=
"请输入lot number"
placeholder=
"请输入lot number"
...
@@ -234,7 +234,6 @@
...
@@ -234,7 +234,6 @@
<
script
>
<
script
>
import
{
import
{
listIncomeInspectInfo
,
listIncomeInspectInfo
,
getIncomeInspectInfo
,
addIncomeInspectInfo
,
addIncomeInspectInfo
,
updateIncomeInspectInfo
,
updateIncomeInspectInfo
,
exportIncomeInspectInfo
,
exportIncomeInspectInfo
,
...
@@ -388,11 +387,19 @@ export default {
...
@@ -388,11 +387,19 @@ export default {
return
search
return
search
},
},
/** 审批按钮*/
/** 审批按钮*/
/**
* controls 操作 1:审核 2:修改 3:查看
* approveStatus 状态 0 cg 1 待审核 2 已通过 3 已驳回
* **/
handleApprove
(
row
)
{
handleApprove
(
row
)
{
const
id
=
row
.
businessId
const
id
=
row
.
businessId
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'checkList'
,
path
:
'checkList'
,
query
:
{
businessId
:
id
}
query
:
{
businessId
:
id
,
controls
:
'1'
,
approveStatus
:
row
.
approveStatus
}
})
})
},
},
/** 查看按钮*/
/** 查看按钮*/
...
@@ -556,7 +563,11 @@ export default {
...
@@ -556,7 +563,11 @@ export default {
const
id
=
row
.
businessId
const
id
=
row
.
businessId
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'checkList'
,
path
:
'checkList'
,
query
:
{
businessId
:
id
}
query
:
{
businessId
:
id
,
controls
:
'2'
,
approveStatus
:
row
.
approveStatus
}
})
})
// getIncomeInspectInfo(id).then(response => {
// getIncomeInspectInfo(id).then(response => {
...
...
src/views/checkList.vue
View file @
bd68978c
This diff is collapsed.
Click to expand it.
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