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
fe707766
Commit
fe707766
authored
Jun 19, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了合同评审驳回
parent
53721587
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
1 deletions
+38
-1
MeterContractReview.vue
pages/meter-contract/contract-review/MeterContractReview.vue
+38
-1
No files found.
pages/meter-contract/contract-review/MeterContractReview.vue
View file @
fe707766
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
</div>
</div>
</div>
</div>
<FileManage
ref=
"FileManage"
></FileManage>
<FileManage
ref=
"FileManage"
></FileManage>
<Reason
ref=
"reasonModal"
@
on-result-change=
"_reasonResult"
></Reason>
<MeterSendOperation
ref=
"operationModal"
></MeterSendOperation>
<MeterSendOperation
ref=
"operationModal"
></MeterSendOperation>
<MeterSubcontractorEdit
ref=
"editSubcontractorModal"
@
on-result-change=
"_formSearch"
></MeterSubcontractorEdit>
<MeterSubcontractorEdit
ref=
"editSubcontractorModal"
@
on-result-change=
"_formSearch"
></MeterSubcontractorEdit>
<MeterSubcontractorAddEdit
ref=
"addEditModal"
></MeterSubcontractorAddEdit>
<MeterSubcontractorAddEdit
ref=
"addEditModal"
></MeterSubcontractorAddEdit>
...
@@ -53,6 +54,7 @@
...
@@ -53,6 +54,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
meterContract
,
meterSubcontractor
}
from
'../../../api'
import
{
meterContract
,
meterSubcontractor
}
from
'../../../api'
import
Reason
from
'../../../components/base/Reason'
import
MeterSubcontractorEdit
from
'./MeterContractReviewEdit'
import
MeterSubcontractorEdit
from
'./MeterContractReviewEdit'
import
MeterSubcontractorAddEdit
from
'./MeterContractReviewAddEdit'
import
MeterSubcontractorAddEdit
from
'./MeterContractReviewAddEdit'
import
MeterSendOperation
from
'./MeterContractReviewOperation'
import
MeterSendOperation
from
'./MeterContractReviewOperation'
...
@@ -60,7 +62,8 @@ export default {
...
@@ -60,7 +62,8 @@ export default {
components
:
{
components
:
{
MeterSubcontractorEdit
,
MeterSubcontractorEdit
,
MeterSendOperation
,
MeterSendOperation
,
MeterSubcontractorAddEdit
MeterSubcontractorAddEdit
,
Reason
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -72,6 +75,11 @@ export default {
...
@@ -72,6 +75,11 @@ export default {
type
:
'success'
,
type
:
'success'
,
id
:
''
,
id
:
''
,
name
:
'评审'
name
:
'评审'
},
{
type
:
'success'
,
id
:
''
,
name
:
'驳回'
}
}
],
],
iconMsg
:
[
iconMsg
:
[
...
@@ -138,6 +146,9 @@ export default {
...
@@ -138,6 +146,9 @@ export default {
case
'评审'
:
case
'评审'
:
this
.
_editModal
(
false
)
this
.
_editModal
(
false
)
break
break
case
'驳回'
:
this
.
_goBack
()
break
case
'提交'
:
case
'提交'
:
this
.
_submitToReview
()
this
.
_submitToReview
()
break
break
...
@@ -147,6 +158,32 @@ export default {
...
@@ -147,6 +158,32 @@ export default {
}
}
})
})
},
},
_goBack
()
{
// 退回
if
(
this
.
selectIds
.
length
===
0
)
{
this
.
$Message
.
warning
(
'请至少选择一条委托!'
)
}
else
{
this
.
$refs
.
reasonModal
.
_open
(
'退回原因'
)
}
},
// _reportCheckBack: async function(data) {
// const result = await meterContract.checkSecond({
// ids: this.selectIds,
// remark: data
// })
//
// if (result) {
// this.$Message.success('退回成功!')
// await this._page()
// }
// },
_reasonResult
(
data
)
{
if
(
undefined
!==
data
&&
data
!==
''
)
{
// this._reportCheckBack(data)
console
.
log
(
'退回'
)
}
console
.
log
(
data
)
},
_iconClick
(
res
,
data
,
componentName
)
{
_iconClick
(
res
,
data
,
componentName
)
{
this
.
currentComponent
=
componentName
this
.
currentComponent
=
componentName
this
.
$nextTick
(
function
()
{
this
.
$nextTick
(
function
()
{
...
...
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