whj 10 months ago
parent
commit
9b7f6b2468
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/workflow/workflow/modules/BaseForm.vue

+ 3 - 3
src/views/workflow/workflow/modules/BaseForm.vue

@@ -49,7 +49,7 @@ export default {
       details: [
         {
           name: '发起人',
-          id: String(+new Date()),
+          id: this.BaseTool.Util.getUUID(),
           type: 1,
           sortNum: 1,
           y: 100,
@@ -227,7 +227,7 @@ export default {
     add(record, type) {
       const newVal = {
         name: type === 2 ? '条件分支' : '审核人',
-        id: String(+new Date()),
+        id: this.BaseTool.Util.getUUID(),
         verifier: '',
         userName: '',
         reflect: '',
@@ -327,7 +327,7 @@ export default {
       this.details = [
         {
           name: '发起人',
-          id: String(+new Date()),
+          id: this.BaseTool.Util.getUUID(),
           type: 1,
           sortNum: 1,
           y: 100,