|
@@ -58,7 +58,7 @@
|
|
|
|
|
|
|
|
<route>
|
|
<route>
|
|
|
{
|
|
{
|
|
|
-name: '合同信息',
|
|
|
|
|
|
|
+name: '合同管理',
|
|
|
meta: { layout: 'empty'}
|
|
meta: { layout: 'empty'}
|
|
|
}
|
|
}
|
|
|
</route>
|
|
</route>
|
|
@@ -71,12 +71,7 @@ export default {
|
|
|
return {
|
|
return {
|
|
|
projectId: '',
|
|
projectId: '',
|
|
|
form: {},
|
|
form: {},
|
|
|
- data: [
|
|
|
|
|
- {
|
|
|
|
|
- id: 3,
|
|
|
|
|
- prop: 'ooooo'
|
|
|
|
|
- }
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ data: [],
|
|
|
option: {
|
|
option: {
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
menuAlign: 'center',
|
|
menuAlign: 'center',
|
|
@@ -93,43 +88,48 @@ export default {
|
|
|
column: [
|
|
column: [
|
|
|
{
|
|
{
|
|
|
label: '合同名称',
|
|
label: '合同名称',
|
|
|
- prop: 'noticeType'
|
|
|
|
|
|
|
+ prop: 'title'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
label: '合同编号',
|
|
label: '合同编号',
|
|
|
- prop: 'noticeType'
|
|
|
|
|
|
|
+ prop: 'number'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
label: '合同金额',
|
|
label: '合同金额',
|
|
|
- prop: 'noticeType'
|
|
|
|
|
|
|
+ prop: 'amount'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
label: '已付金额',
|
|
label: '已付金额',
|
|
|
- prop: 'noticeType'
|
|
|
|
|
|
|
+ prop: 'paymentAmount'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
label: '未付金额',
|
|
label: '未付金额',
|
|
|
- prop: 'noticeType'
|
|
|
|
|
|
|
+ prop: 'notPaymentAmount'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- label: '合同类型',
|
|
|
|
|
- prop: 'noticeType'
|
|
|
|
|
|
|
+ label: '合同类别',
|
|
|
|
|
+ prop: 'type',
|
|
|
|
|
+ dicUrl: '/api/blade-system/dict-biz/dictionary?code=contract-type',
|
|
|
|
|
+ props: {
|
|
|
|
|
+ label: 'dictValue',
|
|
|
|
|
+ value: 'dictKey'
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- label: '签订对方',
|
|
|
|
|
- prop: 'noticeType'
|
|
|
|
|
|
|
+ label: '签订乙方',
|
|
|
|
|
+ prop: 'partyB'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
label: '签订日期',
|
|
label: '签订日期',
|
|
|
- prop: 'noticeType'
|
|
|
|
|
|
|
+ prop: 'signTime'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
label: '合同状态',
|
|
label: '合同状态',
|
|
|
- prop: 'noticeType'
|
|
|
|
|
|
|
+ prop: 'contractsStatus'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
label: '到期日期',
|
|
label: '到期日期',
|
|
|
- prop: 'noticeType'
|
|
|
|
|
|
|
+ prop: 'expireTime'
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
@@ -170,7 +170,7 @@ export default {
|
|
|
this.$api.contract
|
|
this.$api.contract
|
|
|
.contractList(Object.assign(this.page, data))
|
|
.contractList(Object.assign(this.page, data))
|
|
|
.then(res => {
|
|
.then(res => {
|
|
|
- console.log(res)
|
|
|
|
|
|
|
+ this.data = res.data.records
|
|
|
})
|
|
})
|
|
|
.finally(() => {
|
|
.finally(() => {
|
|
|
this.loading = false
|
|
this.loading = false
|
|
@@ -180,7 +180,7 @@ export default {
|
|
|
if (type === 'view') {
|
|
if (type === 'view') {
|
|
|
const data = this.$router.resolve({
|
|
const data = this.$router.resolve({
|
|
|
path: '/contract/detail',
|
|
path: '/contract/detail',
|
|
|
- query: { id: this.form.projectId }
|
|
|
|
|
|
|
+ query: { id: this.form.id }
|
|
|
})
|
|
})
|
|
|
window.open(data.href, '_blank')
|
|
window.open(data.href, '_blank')
|
|
|
}
|
|
}
|