工作组复制,文件分发优化
This commit is contained in:
@@ -5,7 +5,7 @@ const getWorkingGroupById = (params) => getAction('/project/payWorkingGroup/quer
|
|||||||
// 判断工作组成员是否设置来款通知
|
// 判断工作组成员是否设置来款通知
|
||||||
const getChargeNotice = (param) => getAction('/project/payWorkingGroupSubitem/getCharge', param)
|
const getChargeNotice = (param) => getAction('/project/payWorkingGroupSubitem/getCharge', param)
|
||||||
// 工作组会议的发布提醒
|
// 工作组会议的发布提醒
|
||||||
const publishRemind = (param) => postAction('/meeting/payMeeting/publishReminder',param)
|
const publishRemind = (param) => postAction('/meeting/payMeeting/publishReminder', param)
|
||||||
// 通过id获取收入合同信息
|
// 通过id获取收入合同信息
|
||||||
const getRevenueContractById = (param) => getAction('/contract/payIncomeContract/queryById', param)
|
const getRevenueContractById = (param) => getAction('/contract/payIncomeContract/queryById', param)
|
||||||
// 收入合同审核
|
// 收入合同审核
|
||||||
@@ -33,9 +33,9 @@ const addPaymentPhase = (param) => postAction('/paymentRecord/payPaymentRecord/a
|
|||||||
// 编辑来款阶段
|
// 编辑来款阶段
|
||||||
const editAmountPhase = (param) => postAction('/paymentRecord/payPaymentRecord/editAmountReceived', param)
|
const editAmountPhase = (param) => postAction('/paymentRecord/payPaymentRecord/editAmountReceived', param)
|
||||||
// 来款列表
|
// 来款列表
|
||||||
const amountReceivedList = (param) => postAction(`/paymentRecord/payPaymentRecord/amountReceivedList?id=${param}`)
|
const amountReceivedList = (param) => postAction(`/paymentRecord/payPaymentRecord/amountReceivedList?id=${ param }`)
|
||||||
// 开票列表
|
// 开票列表
|
||||||
const payBillList = (param) => postAction(`/paymentRecord/payPaymentRecord/payBillList?id=${param}`)
|
const payBillList = (param) => postAction(`/paymentRecord/payPaymentRecord/payBillList?id=${ param }`)
|
||||||
// 新增开票阶段
|
// 新增开票阶段
|
||||||
// const addPayBill = (projectId, projectType, invoiceAmounts, param) => postAction(`/paymentRecord/payPaymentRecord/addPayBill?projectIds=${projectId}&projectTypes=${projectType}&invoiceAmounts=${invoiceAmounts}`, param)
|
// const addPayBill = (projectId, projectType, invoiceAmounts, param) => postAction(`/paymentRecord/payPaymentRecord/addPayBill?projectIds=${projectId}&projectTypes=${projectType}&invoiceAmounts=${invoiceAmounts}`, param)
|
||||||
const addPayBill = (param) => postAction(`/paymentRecord/payPaymentRecord/addPayBill`, param)
|
const addPayBill = (param) => postAction(`/paymentRecord/payPaymentRecord/addPayBill`, param)
|
||||||
@@ -61,10 +61,12 @@ const batchDistribute = (param) => postAction('/project/payWorkingGroupDistribut
|
|||||||
const distributeMemberList = (param) => getAction('/project/payWorkingGroupDistributionRecord/list', param)
|
const distributeMemberList = (param) => getAction('/project/payWorkingGroupDistributionRecord/list', param)
|
||||||
// 催款提醒
|
// 催款提醒
|
||||||
const dunningReminder = (param) => postAction('/project/payWorkingGroupSubitem/reminders', param)
|
const dunningReminder = (param) => postAction('/project/payWorkingGroupSubitem/reminders', param)
|
||||||
|
// 复制工作组
|
||||||
|
const copyWorkingGroup = (param) => postAction('/project/payWorkingGroup/copy', param)
|
||||||
|
|
||||||
export {
|
export {
|
||||||
getWorkingGroupById,
|
getWorkingGroupById,
|
||||||
getChargeNotice,
|
getChargeNotice,
|
||||||
publishRemind,
|
publishRemind,
|
||||||
getRevenueContractById,
|
getRevenueContractById,
|
||||||
aduitRevenueContract,
|
aduitRevenueContract,
|
||||||
@@ -92,5 +94,6 @@ export {
|
|||||||
distribute,
|
distribute,
|
||||||
batchDistribute,
|
batchDistribute,
|
||||||
distributeMemberList,
|
distributeMemberList,
|
||||||
dunningReminder
|
dunningReminder,
|
||||||
|
copyWorkingGroup
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
<span slot="action" class="action-span-cell" slot-scope="text, record">
|
<span slot="action" class="action-span-cell" slot-scope="text, record">
|
||||||
<a @click="goFilesMaintenance(record)">文件维护</a>
|
<a @click="goFilesMaintenance(record)">文件维护</a>
|
||||||
<a @click="goConferenceMaintenance(record)">会议维护</a>
|
<a @click="goConferenceMaintenance(record)">会议维护</a>
|
||||||
<a @click="copyWorkGroup(record)">复制</a>
|
<a @click="copyWorkGroup(record.id)">复制</a>
|
||||||
<a @click="handleEdit(record)">编辑</a>
|
<a @click="handleEdit(record)">编辑</a>
|
||||||
<a @click="handleDelete(record.id)">删除</a>
|
<a @click="handleDelete(record.id)">删除</a>
|
||||||
</span>
|
</span>
|
||||||
@@ -113,6 +113,7 @@ import SelectPrincipal from '@comp/company/SelectPrincipal'
|
|||||||
import ProgressBar from '@comp/ProgressBar'
|
import ProgressBar from '@comp/ProgressBar'
|
||||||
import PageHeaderTitle from '@comp/layouts/PageHeaderTitle'
|
import PageHeaderTitle from '@comp/layouts/PageHeaderTitle'
|
||||||
import IconWorkingGruop from '@/assets/imgs/icon/icon_working_group.png'
|
import IconWorkingGruop from '@/assets/imgs/icon/icon_working_group.png'
|
||||||
|
import { copyWorkingGroup } from '../../api/incomePaymentsApi'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'WorkingGroupProjectManagement',
|
name: 'WorkingGroupProjectManagement',
|
||||||
@@ -197,6 +198,21 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* 复制
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
copyWorkGroup(id) {
|
||||||
|
copyWorkingGroup({id: id}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message)
|
||||||
|
} else {
|
||||||
|
this.$message.warn(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.loadData()
|
||||||
|
})
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* 成员维护
|
* 成员维护
|
||||||
* @param record
|
* @param record
|
||||||
|
|||||||
@@ -69,6 +69,13 @@ export default {
|
|||||||
default: false
|
default: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
watch:{
|
||||||
|
visible(val) {
|
||||||
|
if (val) {
|
||||||
|
this.initData()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
title: '分发',
|
title: '分发',
|
||||||
@@ -104,14 +111,12 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
|
||||||
this.initData()
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 获取成员列表
|
* 获取成员列表
|
||||||
*/
|
*/
|
||||||
getMemberList() {
|
getMemberList() {
|
||||||
|
this.confirmLoading = true
|
||||||
let param = {
|
let param = {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
projectType: this.projectType
|
projectType: this.projectType
|
||||||
@@ -122,6 +127,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
console.log(res.message)
|
console.log(res.message)
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.confirmLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
onCheck(checkedKeys) {
|
onCheck(checkedKeys) {
|
||||||
|
|||||||
@@ -25,6 +25,10 @@
|
|||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
|
<template slot="footer">
|
||||||
|
<a-button @click="handleCancel">关闭</a-button>
|
||||||
|
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
|
||||||
|
</template>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user