|
@@ -369,8 +369,8 @@
|
|
},
|
|
},
|
|
start () {
|
|
start () {
|
|
// 读取流程表单
|
|
// 读取流程表单
|
|
- let tabTitle = `发起流程【合同登记】`
|
|
|
|
- let processTitle = `${this.userName} 在 ${this.moment(new Date()).format('YYYY-MM-DD HH:mm')} 发起了 [合同登记]`
|
|
|
|
|
|
+ let tabTitle = `发起流程【财务-合同登记】`
|
|
|
|
+ let processTitle = `${this.userName} 在 ${this.moment(new Date()).format('YYYY-MM-DD HH:mm')} 发起了 [财务-合同登记]`
|
|
this.taskService.getTaskDef({ procDefId: this.processDefinitionId,
|
|
this.taskService.getTaskDef({ procDefId: this.processDefinitionId,
|
|
status: 'startAndHold'}).then((data) => {
|
|
status: 'startAndHold'}).then((data) => {
|
|
this.$router.push({
|
|
this.$router.push({
|
|
@@ -392,8 +392,8 @@
|
|
},
|
|
},
|
|
editWithHold (row) {
|
|
editWithHold (row) {
|
|
// 读取流程表单
|
|
// 读取流程表单
|
|
- let tabTitle = `发起流程【合同登记】`
|
|
|
|
- let processTitle = `${this.userName} 在 ${this.moment(new Date()).format('YYYY-MM-DD HH:mm')} 发起了 [合同登记]`
|
|
|
|
|
|
+ let tabTitle = `发起流程【财务-合同登记】`
|
|
|
|
+ let processTitle = `${this.userName} 在 ${this.moment(new Date()).format('YYYY-MM-DD HH:mm')} 发起了 [财务-合同登记]`
|
|
this.taskService.getTaskDef({ procDefId: this.processDefinitionId,
|
|
this.taskService.getTaskDef({ procDefId: this.processDefinitionId,
|
|
businessId: row.id,
|
|
businessId: row.id,
|
|
businessTable: 'cw_work_contract_info',
|
|
businessTable: 'cw_work_contract_info',
|
|
@@ -418,8 +418,8 @@
|
|
},
|
|
},
|
|
editWithClose (row) {
|
|
editWithClose (row) {
|
|
// 读取流程表单
|
|
// 读取流程表单
|
|
- let tabTitle = `发起流程【合同登记】`
|
|
|
|
- let processTitle = `${this.userName} 在 ${this.moment(new Date()).format('YYYY-MM-DD HH:mm')} 发起了 [合同登记]`
|
|
|
|
|
|
+ let tabTitle = `发起流程【财务-合同登记】`
|
|
|
|
+ let processTitle = `${this.userName} 在 ${this.moment(new Date()).format('YYYY-MM-DD HH:mm')} 发起了 [财务-合同登记]`
|
|
this.taskService.getTaskDef({ procDefId: this.processDefinitionId,
|
|
this.taskService.getTaskDef({ procDefId: this.processDefinitionId,
|
|
businessId: row.id,
|
|
businessId: row.id,
|
|
businessTable: 'work_contract_info',
|
|
businessTable: 'work_contract_info',
|
|
@@ -530,12 +530,12 @@
|
|
},
|
|
},
|
|
// 归档
|
|
// 归档
|
|
filed (id) {
|
|
filed (id) {
|
|
- this.processService.getByName('合同登记归档').then(({data}) => {
|
|
|
|
|
|
+ this.processService.getByName('财务-合同登记归档').then(({data}) => {
|
|
if (!this.commonJS.isEmpty(data.id)) {
|
|
if (!this.commonJS.isEmpty(data.id)) {
|
|
// console.log('data', data)
|
|
// console.log('data', data)
|
|
// 读取流程表单
|
|
// 读取流程表单
|
|
- let tabTitle = `发起流程【合同登记归档】`
|
|
|
|
- let processTitle = `${this.userName} 在 ${this.moment(new Date()).format('YYYY-MM-DD HH:mm')} 发起了 [合同登记归档]`
|
|
|
|
|
|
+ let tabTitle = `发起流程【财务-合同登记归档】`
|
|
|
|
+ let processTitle = `${this.userName} 在 ${this.moment(new Date()).format('YYYY-MM-DD HH:mm')} 发起了 [财务-合同登记归档]`
|
|
this.taskService.getTaskDef({ procDefId: data.id,
|
|
this.taskService.getTaskDef({ procDefId: data.id,
|
|
businessId: id,
|
|
businessId: id,
|
|
businessTable: 'cw_work_contract_file',
|
|
businessTable: 'cw_work_contract_file',
|
|
@@ -562,12 +562,12 @@
|
|
},
|
|
},
|
|
// 归档
|
|
// 归档
|
|
filedAndClose (id) {
|
|
filedAndClose (id) {
|
|
- this.processService.getByName('合同登记归档').then(({data}) => {
|
|
|
|
|
|
+ this.processService.getByName('财务-合同登记归档').then(({data}) => {
|
|
if (!this.commonJS.isEmpty(data.id)) {
|
|
if (!this.commonJS.isEmpty(data.id)) {
|
|
// console.log('data', data)
|
|
// console.log('data', data)
|
|
// 读取流程表单
|
|
// 读取流程表单
|
|
- let tabTitle = `发起流程【合同登记归档】`
|
|
|
|
- let processTitle = `${this.userName} 在 ${this.moment(new Date()).format('YYYY-MM-DD HH:mm')} 发起了 [合同登记归档]`
|
|
|
|
|
|
+ let tabTitle = `发起流程【财务-合同登记归档】`
|
|
|
|
+ let processTitle = `${this.userName} 在 ${this.moment(new Date()).format('YYYY-MM-DD HH:mm')} 发起了 [财务-合同登记归档]`
|
|
this.taskService.getTaskDef({ procDefId: data.id,
|
|
this.taskService.getTaskDef({ procDefId: data.id,
|
|
businessId: id,
|
|
businessId: id,
|
|
businessTable: 'cw_work_contract_file',
|
|
businessTable: 'cw_work_contract_file',
|