eslint; 收入合同

This commit is contained in:
zhaoxiao
2021-09-03 19:27:41 +08:00
parent c53de39b40
commit 303c1026f8
164 changed files with 5964 additions and 4788 deletions
@@ -79,15 +79,15 @@
<!-- 项目名称 待审核状态为红色-->
<template slot="projectName" slot-scope="text, record">
<div class="primary-color" @click="toRevenueContractDetail(record.id)" v-if="record.status !== 1">{{ text }}</div>
<div @click="toRevenueContractDetail(record.id)" v-else>{{ text }}</div>
<div @click="toRevenueContractDetail(record.id, record.contractNum)" v-else>{{ text }}</div>
</template>
<template slot="text" slot-scope="text,record">
<template slot="text" slot-scope="text">
<j-ellipsis :value="text" :length="20"></j-ellipsis>
</template>
<span slot="action" class="action-span-cell" slot-scope="text, record">
<a @click="handleEdit(record)">编辑</a>
<a @click="handleEdit(record.id, record.contractNum)">编辑</a>
<a @click="handleDelete(record.id)">删除</a>
</span>
</a-table>
@@ -195,17 +195,19 @@ export default {
{
id: 1,
status: 1,
contractNum: '1346',
createTime: '2020-09-02 11:11:11'
}
]
}
},
methods: {
toRevenueContractDetail(id) {
toRevenueContractDetail(id, contractNum) {
this.$router.push({
path: '/contractManagement/RevenueContractDetail',
query: {
revenueId: id
revenueId: id,
contractNum: contractNum
}
})
},
@@ -214,6 +216,15 @@ export default {
path: '/contractManagement/AddRevenueContract'
})
},
handleEdit(id, contractNum) {
this.$router.push({
path: '/contractManagement/AddRevenueContract',
query: {
revenueId: id,
contractNum: contractNum
}
})
},
/**
* 动态设置待审核状态的表格样式
* @param record