cloud-web-corejs-haier 1.0.34 → 1.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs-haier",
3
3
  "private": false,
4
- "version": "1.0.34",
4
+ "version": "1.0.35",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -78,12 +78,23 @@
78
78
  <base-input-number autocomplete="off" v-model="wfObjConfigItem.orders" clearable/>
79
79
  </el-form-item>
80
80
  </td>
81
+ <th>
82
+ {{ $t1('是否允许流程启动更改候选人') }}
83
+ </th>
84
+ <td colspan="3">
85
+ <el-form-item prop="startSetCandidate" :rules="[{ required: false, trigger: 'blur' }]">
86
+ <el-radio-group v-model="wfObjConfigItem.startSetCandidate">
87
+ <el-radio :label="true">{{ $t1('是') }}</el-radio>
88
+ <el-radio :label="false">{{ $t1('否') }}</el-radio>
89
+ </el-radio-group>
90
+ </el-form-item>
91
+ </td>
81
92
  </tr>
82
93
  <tr>
83
94
  <th>
84
95
  {{ $t1('模板筛选脚本') }}<br/>
85
96
  <scriptDescriptionButton path="static/readme/Wf.txt"></scriptDescriptionButton>
86
- <scriptTestButton :script.sync="wfObjConfigItem.script"></scriptTestButton>
97
+ <scriptTestButton :script.sync="wfObjConfigItem.filterScript"></scriptTestButton>
87
98
  </th>
88
99
  <td colspan="7">
89
100
  <el-form-item prop="filterScript" :rules="[{ required: false, trigger: 'blur' }]">
@@ -131,6 +142,7 @@ export default {
131
142
  modelValue: "CLASSICS",
132
143
  enabled: true,
133
144
  orders: undefined,
145
+ startSetCandidate: true,
134
146
  },
135
147
  showWfObjConfigDialog: false,
136
148
  configServiceId: null,
@@ -442,6 +442,20 @@ export default {
442
442
  }
443
443
  }
444
444
  }
445
+ },
446
+ {
447
+ title: this.$t1('是否允许流程启动更改候选人'),
448
+ field: 'startSetCandidate',
449
+ width: 250,
450
+ slots: {
451
+ default: ({row}) => {
452
+ if (row.startSetCandidate) {
453
+ return [<div class="txt-status">{this.$t1('是')}</div>];
454
+ } else {
455
+ return [<div class="txt-status s-3">{this.$t1('否')}</div>];
456
+ }
457
+ }
458
+ }
445
459
  },
446
460
  /**{
447
461
  title: this.$t1('设计器模型'),