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
19719d3c
Commit
19719d3c
authored
Jul 07, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了合同管理历史记录按钮
parent
ef649018
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
19 deletions
+26
-19
MeterContractRegisterHis.vue
...r-contract/contract-register/MeterContractRegisterHis.vue
+15
-11
MeterContractReviewHis.vue
...meter-contract/contract-review/MeterContractReviewHis.vue
+11
-8
No files found.
pages/meter-contract/contract-register/MeterContractRegisterHis.vue
View file @
19719d3c
...
@@ -45,15 +45,17 @@
...
@@ -45,15 +45,17 @@
</Row>
</Row>
</div>
</div>
</div>
</div>
<MeterContracHisOperation
ref=
"operationModal"
></MeterContracHisOperation>
<FileManage
ref=
"FileManage"
></FileManage>
<MeterSubcontractorEdit
ref=
"editSubcontractorModal"
@
on-result-change=
"_formSearch"
></MeterSubcontractorEdit>
<MeterSubcontractorEdit
ref=
"editSubcontractorModal"
@
on-result-change=
"_formSearch"
></MeterSubcontractorEdit>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
meterEntrust
,
meterSubcontractor
}
from
'../../../api'
import
{
meterEntrust
,
meterContract
,
meterSubcontractor
}
from
'../../../api'
import
MeterContracHisOperation
from
'../../../components/operation/Operation'
import
MeterSubcontractorEdit
from
'./MeterContractRegisterEdit'
import
MeterSubcontractorEdit
from
'./MeterContractRegisterEdit'
export
default
{
export
default
{
components
:
{
MeterSubcontractorEdit
},
components
:
{
MeterSubcontractorEdit
,
MeterContracHisOperation
},
data
()
{
data
()
{
return
{
return
{
currentComponent
:
''
,
currentComponent
:
''
,
...
@@ -68,7 +70,7 @@ export default {
...
@@ -68,7 +70,7 @@ export default {
],
],
iconMsg
:
[
iconMsg
:
[
{
{
type
:
'
ios-clock
'
,
type
:
'
md-create
'
,
id
:
''
,
id
:
''
,
name
:
'编辑'
name
:
'编辑'
},
},
...
@@ -77,8 +79,8 @@ export default {
...
@@ -77,8 +79,8 @@ export default {
id
:
''
,
id
:
''
,
name
:
'资质项目'
name
:
'资质项目'
},
},
{
type
:
'
ios-clock
'
,
id
:
''
,
name
:
'附件'
},
{
type
:
'
md-cloud
'
,
id
:
''
,
name
:
'附件'
},
{
type
:
'
ios-clock
'
,
id
:
''
,
name
:
'删除'
},
{
type
:
'
md-remove-circle
'
,
id
:
''
,
name
:
'删除'
},
{
{
type
:
'ios-clock'
,
type
:
'ios-clock'
,
id
:
''
,
id
:
''
,
...
@@ -155,7 +157,7 @@ export default {
...
@@ -155,7 +157,7 @@ export default {
})
})
},
},
_record
(
id
)
{
_record
(
id
)
{
this
.
$refs
.
ref
Modal
.
_open
(
id
)
this
.
$refs
.
operation
Modal
.
_open
(
id
)
},
},
_tableResultChange
(
msg
,
data
)
{
_tableResultChange
(
msg
,
data
)
{
switch
(
msg
)
{
switch
(
msg
)
{
...
@@ -205,17 +207,19 @@ export default {
...
@@ -205,17 +207,19 @@ export default {
},
},
// 追加项目
// 追加项目
_itemModal
(
data
)
{
_itemModal
(
data
)
{
this
.
$refs
.
refModal
.
_open
(
data
)
//
this.$refs.refModal._open(data)
},
},
_upload
(
id
)
{
_upload
(
id
)
{
// 上传文件
// 上传文件
this
.
$refs
.
refModal
.
_open
(
id
,
'subcontractorId'
)
// this.$refs.refModal._open(id, 'subcontractorId')
this
.
$refs
.
FileManage
.
_open
(
id
,
'subcontractorId'
)
},
},
_getById
:
async
function
(
id
)
{
_getById
:
async
function
(
id
)
{
const
result
=
await
meterSubcontractor
.
getById
(
id
)
const
result
=
await
meterContract
.
getVOById
(
id
)
console
.
log
(
result
)
if
(
result
)
{
if
(
result
)
{
this
.
$refs
.
editSubcontractorModal
.
_open
(
result
)
this
.
$refs
.
editSubcontractorModal
.
_open
Edit
(
result
)
}
}
},
},
_delete
:
async
function
(
ids
)
{
_delete
:
async
function
(
ids
)
{
...
...
pages/meter-contract/contract-review/MeterContractReviewHis.vue
View file @
19719d3c
...
@@ -45,15 +45,17 @@
...
@@ -45,15 +45,17 @@
</Row>
</Row>
</div>
</div>
</div>
</div>
<MeterReviewHisHisOperation
ref=
"operationModal"
></MeterReviewHisHisOperation>
<FileManage
ref=
"FileManage"
></FileManage>
<MeterSubcontractorEdit
ref=
"editSubcontractorModal"
@
on-result-change=
"_formSearch"
></MeterSubcontractorEdit>
<MeterSubcontractorEdit
ref=
"editSubcontractorModal"
@
on-result-change=
"_formSearch"
></MeterSubcontractorEdit>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
meterEntrust
,
meterSubcontractor
}
from
'../../../api'
import
{
meterEntrust
,
meterSubcontractor
}
from
'../../../api'
import
MeterReviewHisHisOperation
from
'../../../components/operation/Operation'
import
MeterSubcontractorEdit
from
'./MeterContractReviewEdit'
import
MeterSubcontractorEdit
from
'./MeterContractReviewEdit'
export
default
{
export
default
{
components
:
{
MeterSubcontractorEdit
},
components
:
{
MeterSubcontractorEdit
,
MeterReviewHisHisOperation
},
data
()
{
data
()
{
return
{
return
{
currentComponent
:
''
,
currentComponent
:
''
,
...
@@ -68,7 +70,7 @@ export default {
...
@@ -68,7 +70,7 @@ export default {
],
],
iconMsg
:
[
iconMsg
:
[
{
{
type
:
'
ios-clock
'
,
type
:
'
md-create
'
,
id
:
''
,
id
:
''
,
name
:
'编辑'
name
:
'编辑'
},
},
...
@@ -77,8 +79,8 @@ export default {
...
@@ -77,8 +79,8 @@ export default {
id
:
''
,
id
:
''
,
name
:
'资质项目'
name
:
'资质项目'
},
},
{
type
:
'
ios-clock
'
,
id
:
''
,
name
:
'附件'
},
{
type
:
'
md-cloud
'
,
id
:
''
,
name
:
'附件'
},
{
type
:
'
ios-clock
'
,
id
:
''
,
name
:
'删除'
},
{
type
:
'
md-remove-circle
'
,
id
:
''
,
name
:
'删除'
},
{
{
type
:
'ios-clock'
,
type
:
'ios-clock'
,
id
:
''
,
id
:
''
,
...
@@ -155,7 +157,7 @@ export default {
...
@@ -155,7 +157,7 @@ export default {
})
})
},
},
_record
(
id
)
{
_record
(
id
)
{
this
.
$refs
.
ref
Modal
.
_open
(
id
)
this
.
$refs
.
operation
Modal
.
_open
(
id
)
},
},
_tableResultChange
(
msg
,
data
)
{
_tableResultChange
(
msg
,
data
)
{
switch
(
msg
)
{
switch
(
msg
)
{
...
@@ -202,12 +204,13 @@ export default {
...
@@ -202,12 +204,13 @@ export default {
},
},
// 追加项目
// 追加项目
_itemModal
(
data
)
{
_itemModal
(
data
)
{
this
.
$refs
.
refModal
.
_open
(
data
)
//
this.$refs.refModal._open(data)
},
},
_upload
(
id
)
{
_upload
(
id
)
{
// 上传文件
// 上传文件
this
.
$refs
.
refModal
.
_open
(
id
,
'subcontractorId'
)
// this.$refs.refModal._open(id, 'subcontractorId')
this
.
$refs
.
FileManage
.
_open
(
id
,
'subcontractorId'
)
},
},
_getById
:
async
function
(
id
)
{
_getById
:
async
function
(
id
)
{
const
result
=
await
meterSubcontractor
.
getById
(
id
)
const
result
=
await
meterSubcontractor
.
getById
(
id
)
...
...
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