cloud-web-corejs 1.0.54-dev.265 → 1.0.54-dev.267

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.
@@ -1,9 +1,9 @@
1
1
  <template>
2
2
  <div id="containt">
3
- <el-tabs v-model="activeName" class="tab-box">
3
+ <el-tabs v-model="activeName" class="tab-box" @tab-click="changeActiveName">
4
4
  <el-tab-pane :label="$t1('常规')" name="first">
5
5
  <component v-if="showEdit" visible-key="showEdit" :is="editComponentName" :_dataId.sync="dataId"
6
- :parent-target="_self" @reload="$reloadHandle"></component>
6
+ :parent-target="_self" @reload="$reloadHandle"></component>
7
7
  </el-tab-pane>
8
8
  <el-tab-pane :label="$t1('列表')" name="second">
9
9
  <div class="grid-height">
@@ -50,16 +50,16 @@
50
50
  </vxe-grid>
51
51
  </div>
52
52
  </el-tab-pane>
53
- <!-- <el-tab-pane :label="$t1('在途推送数据')" name="pushData">
53
+ <el-tab-pane :label="$t1('在途推送数据')" name="pushData">
54
54
  <div class="grid-height">
55
- <push_data_list :flag="1" @openEditDialog="openPushDataEditView"></push_data_list>
55
+ <push_data_list @openEditDialog="openPushDataEditView" v-if="showPushDataList"></push_data_list>
56
56
  </div>
57
57
  </el-tab-pane>
58
58
  <el-tab-pane :label="$t1('历史推送数据')" name="pushDataH">
59
59
  <div class="grid-height">
60
- <push_data_h_list :flag="1" @openEditDialog="openPushDataHEditView"></push_data_h_list>
60
+ <push_data_h_list @openEditDialog="openPushDataHEditView" v-if="showPushDataHList"></push_data_h_list>
61
61
  </div>
62
- </el-tab-pane>-->
62
+ </el-tab-pane>
63
63
  </el-tabs>
64
64
  </div>
65
65
  </template>
@@ -74,7 +74,7 @@ import push_data_h_list from "../push_data_h/list.vue";
74
74
 
75
75
  export default {
76
76
  name: 'request_async_setting:list',
77
- components: {editView,push_data_list,push_data_h_list},
77
+ components: {editView, push_data_list, push_data_edit, push_data_h_list, push_data_h_edit},
78
78
  data() {
79
79
  return {
80
80
  activeName: 'second',
@@ -85,7 +85,9 @@ export default {
85
85
  vxeOption: {},
86
86
  formData: {},
87
87
  advancedFormData: {},
88
- editComponentName:null
88
+ editComponentName: null,
89
+ showPushDataList: false,
90
+ showPushDataHList: false,
89
91
  };
90
92
  },
91
93
  mounted() {
@@ -107,13 +109,13 @@ export default {
107
109
  this.activeName = 'first';
108
110
  this.$openEditView('showEdit');
109
111
  },
110
- openPushDataEditView(id){
112
+ openPushDataEditView(id) {
111
113
  this.dataId = !id || typeof id == 'object' ? 0 : id;
112
114
  this.editComponentName = "push_data_edit"
113
115
  this.activeName = 'first';
114
116
  this.$openEditView('showEdit');
115
117
  },
116
- openPushDataHEditView(id){
118
+ openPushDataHEditView(id) {
117
119
  this.dataId = !id || typeof id == 'object' ? 0 : id;
118
120
  this.editComponentName = "push_data_h_edit"
119
121
  this.activeName = 'first';
@@ -277,6 +279,14 @@ export default {
277
279
  this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
278
280
  this.vxeOption = opts;
279
281
  });
282
+ },
283
+ changeActiveName() {
284
+ if (this.activeName == "pushData") {
285
+ this.showPushDataList = true;
286
+ }
287
+ if (this.activeName == "pushDataH") {
288
+ this.showPushDataHList = true;
289
+ }
280
290
  }
281
291
  }
282
292
  };
@@ -93,6 +93,34 @@
93
93
  </el-select>
94
94
  </template>
95
95
  </vxe-form-item>
96
+ <vxe-form-item :title="$t1('启动人')+':'" field="starterName">
97
+ <template v-slot>
98
+ <el-input v-model="formData.starterName" size="small" clearable/>
99
+ </template>
100
+ </vxe-form-item>
101
+ <vxe-form-item title="启动时间:">
102
+ <template v-slot>
103
+ <el-date-picker
104
+ v-model="formData.startTime"
105
+ type="datetime"
106
+ placeholder=""
107
+ size="small"
108
+ clearable
109
+ value-format="yyyy-MM-dd HH:mm:ss"
110
+ :picker-options="$baseStartPickerOptions(formData.endTime)"
111
+ ></el-date-picker>
112
+ <span>-</span>
113
+ <el-date-picker
114
+ v-model="formData.endTime"
115
+ type="datetime"
116
+ placeholder=""
117
+ size="small"
118
+ clearable
119
+ value-format="yyyy-MM-dd HH:mm:ss"
120
+ :picker-options="$baseEndPickerOptions(formData.startTime)"
121
+ ></el-date-picker>
122
+ </template>
123
+ </vxe-form-item>
96
124
  </vxe-form>
97
125
  </template>
98
126
  </vxe-grid>
@@ -120,6 +120,19 @@
120
120
  </el-form-item>
121
121
  </td>
122
122
  </tr>
123
+ <tr>
124
+ <th>
125
+ {{ $t1('流程启动不允许更改候选人') }}
126
+ </th>
127
+ <td>
128
+ <el-form-item prop="startNoSetCandidate" :rules="[{ required: false, trigger: 'blur' }]">
129
+ <el-radio-group v-model="wfObjConfigItem.startNoSetCandidate">
130
+ <el-radio :label="true">{{ $t1('是') }}</el-radio>
131
+ <el-radio :label="false">{{ $t1('否') }}</el-radio>
132
+ </el-radio-group>
133
+ </el-form-item>
134
+ </td>
135
+ </tr>
123
136
  <tr>
124
137
  <th>
125
138
  {{ $t1('任务action脚本') }}<br/>
@@ -204,7 +217,8 @@ export default {
204
217
  skipSameUserTask: false,
205
218
  toNextNode: null,
206
219
  enabled: true,
207
- orders:undefined
220
+ orders: undefined,
221
+ startNoSetCandidate: false
208
222
  },
209
223
  showWfObjConfigDialog: false,
210
224
  configServiceId: null,
@@ -242,7 +256,7 @@ export default {
242
256
  modalStrictly: true,
243
257
  success: res => {
244
258
  let wfObjConfigItem = res.objx || {};
245
- if(wfObjConfigItem.orders===null)wfObjConfigItem.orders = undefined
259
+ if (wfObjConfigItem.orders === null) wfObjConfigItem.orders = undefined
246
260
  if (wfObjConfigItem.toNextNode === 1) {
247
261
  wfObjConfigItem.toRejectNode = null
248
262
  }
@@ -473,6 +473,20 @@ export default {
473
473
  }
474
474
  }
475
475
  },
476
+ {
477
+ title: this.$t1('流程启动不允许更改候选人'),
478
+ field: 'startNoSetCandidate',
479
+ width: 150,
480
+ slots: {
481
+ default: ({row}) => {
482
+ if (row.startNoSetCandidate) {
483
+ return [<div class="txt-status">{this.$t1('是')}</div>];
484
+ } else {
485
+ return [<div class="txt-status s-3">{this.$t1('否')}</div>];
486
+ }
487
+ }
488
+ }
489
+ },
476
490
  {
477
491
  field: 'createDate',
478
492
  title: this.$t1('创建时间'),