Pārlūkot izejas kodu

归档流程名称更替

user5 2 gadi atpakaļ
vecāks
revīzija
0704ecfdfd

+ 2 - 2
src/views/modules/cw/reportManagement/ReportManagementList.vue

@@ -441,12 +441,12 @@
       },
       // 归档
       // filed (id) {
-      //   this.processService.getByName('合同登记归档').then(({data}) => {
+      //   this.processService.getByName('财务-合同登记归档').then(({data}) => {
       //     if (!this.commonJS.isEmpty(data.id)) {
       //       // console.log('data', data)
       //       // 读取流程表单
       //       let tabTitle = `发起流程【财务-报告管理-盖公章】`
-      //       let processTitle = `${this.userName} 在 ${this.moment(new Date()).format('YYYY-MM-DD HH:mm')} 发起了 [合同登记归档]`
+      //       let processTitle = `${this.userName} 在 ${this.moment(new Date()).format('YYYY-MM-DD HH:mm')} 发起了 [财务-合同登记归档]`
       //       this.taskService.getTaskDef({ procDefId: data.id,
       //         businessId: id,
       //         businessTable: 'cw_work_contract_file',

+ 12 - 12
src/views/modules/cw/workContract/ContractRegistration.vue

@@ -369,8 +369,8 @@
       },
       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,
           status: 'startAndHold'}).then((data) => {
             this.$router.push({
@@ -392,8 +392,8 @@
       },
       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,
           businessId: row.id,
           businessTable: 'cw_work_contract_info',
@@ -418,8 +418,8 @@
       },
       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,
           businessId: row.id,
           businessTable: 'work_contract_info',
@@ -530,12 +530,12 @@
       },
       // 归档
       filed (id) {
-        this.processService.getByName('合同登记归档').then(({data}) => {
+        this.processService.getByName('财务-合同登记归档').then(({data}) => {
           if (!this.commonJS.isEmpty(data.id)) {
             // 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,
               businessId: id,
               businessTable: 'cw_work_contract_file',
@@ -562,12 +562,12 @@
       },
       // 归档
       filedAndClose (id) {
-        this.processService.getByName('合同登记归档').then(({data}) => {
+        this.processService.getByName('财务-合同登记归档').then(({data}) => {
           if (!this.commonJS.isEmpty(data.id)) {
             // 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,
               businessId: id,
               businessTable: 'cw_work_contract_file',