Commit 5f8b9735 authored by wanghf's avatar wanghf

Merge remote-tracking branch '云效/test'

parents ba27f08f 80b1f350
...@@ -686,14 +686,15 @@ export default { ...@@ -686,14 +686,15 @@ export default {
this.onlineTaskId = row.id; this.onlineTaskId = row.id;
this.contractUrl = row.contractUrl; this.contractUrl = row.contractUrl;
}, },
handleRecived() { handleRecived(row) {
this.onlineTaskId = row.id;
this.$confirm('是否确认接收任务并签订合同?', '提示', { this.$confirm('是否确认接收任务并签订合同?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.$modal.loading("正在签订合同,请稍候..."); this.$modal.loading("正在签订合同,请稍候...");
const obj = { id: this.onlineTaskId, status: 21 } const obj = { id: row.id, status: 21 }
signContractFile(obj).then(response => { signContractFile(obj).then(response => {
if (response.code === 200) { if (response.code === 200) {
this.$modal.msgSuccess("接收任务并签订合同成功"); this.$modal.msgSuccess("接收任务并签订合同成功");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment