Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-back-soil
Overview
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
wangweidong
patzn-cloud-web-back-soil
Commits
825e10c2
Commit
825e10c2
authored
Mar 20, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加了提交审批按钮
parent
3119f267
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
2 deletions
+30
-2
SoilSampleManage.vue
...mple-manage/sample-preparation-check/SoilSampleManage.vue
+15
-1
SurplusDisposeManage.vue
...anage/sample-surplus-dispose/tab/SurplusDisposeManage.vue
+15
-1
No files found.
pages/soil-sample-manage/sample-preparation-check/SoilSampleManage.vue
View file @
825e10c2
...
...
@@ -65,6 +65,7 @@
<SoilSampleItemManage
ref=
"sampleItemManage"
@
on-result-change=
"_page"
></SoilSampleItemManage>
<DescribeDetailModal
ref=
"writeDetailModal"
@
on-result-change=
"_page"
></DescribeDetailModal>
<Reason
ref=
"reasonModal"
@
on-result-change=
"_reasonResult"
></Reason>
<SelectFlowRelBtn
ref=
"flow"
/>
</div>
</template>
<
script
>
...
...
@@ -72,11 +73,13 @@ import Reason from '../../../components/base/Reason'
import
{
soilEntrust
,
soilSample
}
from
'../../../api'
import
SoilSampleItemManage
from
'../SoilSampleItemManage'
import
DescribeDetailModal
from
'../sample-preparation/DescribeDetailModal'
import
SelectFlowRelBtn
from
'../../meter-entrust/entrust-review/SelectFlowRelBtn'
export
default
{
components
:
{
SoilSampleItemManage
,
DescribeDetailModal
,
Reason
Reason
,
SelectFlowRelBtn
},
data
()
{
return
{
...
...
@@ -92,6 +95,11 @@ export default {
type
:
'error'
,
id
:
''
,
name
:
'驳回'
},
{
type
:
''
,
id
:
'prepare-check-submit-flow'
,
name
:
'提交评审'
}
],
itemList
:
[],
...
...
@@ -239,6 +247,9 @@ export default {
case
'通过'
:
this
.
_pass
()
break
case
'提交评审'
:
this
.
_submit
(
'prepare-check-submit-flow'
)
break
case
'驳回'
:
this
.
_back
()
break
...
...
@@ -248,6 +259,9 @@ export default {
}
})
},
_submit
(
key
)
{
this
.
$refs
.
flow
.
_open
(
key
)
},
_back
()
{
// 退回
if
(
this
.
selectIds
.
length
===
0
)
{
...
...
pages/soil-sample-manage/sample-surplus-dispose/tab/SurplusDisposeManage.vue
View file @
825e10c2
...
...
@@ -45,6 +45,7 @@
</div>
</div>
<Reason
ref=
"reasonModal"
@
on-result-change=
"_reasonResult"
></Reason>
<SelectFlowRelBtn
ref=
"flow"
/>
</div>
</template>
<
script
>
...
...
@@ -52,9 +53,11 @@ import Reason from '../../../../components/base/Reason'
// eslint-disable-next-line no-unused-vars
import
http
from
'../../../../api/http'
import
{
soilSample
}
from
'../../../../api'
import
SelectFlowRelBtn
from
'../../../meter-entrust/entrust-review/SelectFlowRelBtn'
export
default
{
components
:
{
Reason
Reason
,
SelectFlowRelBtn
},
data
()
{
return
{
...
...
@@ -75,6 +78,11 @@ export default {
type
:
''
,
id
:
''
,
name
:
'驳回'
},
{
type
:
''
,
id
:
'surplus-dispose-submit-flow'
,
name
:
'提交审批'
}
// { type: '', id: '', name: '填写存放信息' },
// { type: '', id: '', name: '申请处理' },
...
...
@@ -154,6 +162,9 @@ export default {
case
'通过'
:
this
.
_dispose
()
break
case
'提交审批'
:
this
.
_submit
(
'surplus-dispose-submit-flow'
)
break
case
'驳回'
:
this
.
_disposeBack
()
break
...
...
@@ -187,6 +198,9 @@ export default {
break
}
},
_submit
(
key
)
{
this
.
$refs
.
flow
.
_open
(
key
)
},
// 通过
_dispose
()
{
if
(
this
.
selectIds
.
length
===
0
)
{
...
...
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