@xatlas/rainbow-core 2.3.8 → 2.4.0
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/dist/core.common.js +2608 -460
- package/dist/core.common.js.map +1 -1
- package/dist/core.css +1 -1
- package/dist/core.umd.js +2608 -460
- package/dist/core.umd.js.map +1 -1
- package/dist/core.umd.min.js +6 -6
- package/dist/core.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/core.common.js
CHANGED
|
@@ -1076,6 +1076,17 @@ module.exports =
|
|
|
1076
1076
|
|
|
1077
1077
|
}));
|
|
1078
1078
|
|
|
1079
|
+
/***/ }),
|
|
1080
|
+
|
|
1081
|
+
/***/ "05ec":
|
|
1082
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1083
|
+
|
|
1084
|
+
"use strict";
|
|
1085
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CheckNode_vue_vue_type_style_index_0_id_0980fb16_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1d3f");
|
|
1086
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CheckNode_vue_vue_type_style_index_0_id_0980fb16_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CheckNode_vue_vue_type_style_index_0_id_0980fb16_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
1087
|
+
/* unused harmony reexport * */
|
|
1088
|
+
|
|
1089
|
+
|
|
1079
1090
|
/***/ }),
|
|
1080
1091
|
|
|
1081
1092
|
/***/ "0934":
|
|
@@ -1540,13 +1551,6 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
1540
1551
|
}
|
|
1541
1552
|
|
|
1542
1553
|
|
|
1543
|
-
/***/ }),
|
|
1544
|
-
|
|
1545
|
-
/***/ "1898":
|
|
1546
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1547
|
-
|
|
1548
|
-
// extracted by mini-css-extract-plugin
|
|
1549
|
-
|
|
1550
1554
|
/***/ }),
|
|
1551
1555
|
|
|
1552
1556
|
/***/ "1aba":
|
|
@@ -2768,8 +2772,8 @@ var view_store_getters = ['schema', 'model', 'idName', 'nodeName', 'parentIdName
|
|
|
2768
2772
|
};
|
|
2769
2773
|
};
|
|
2770
2774
|
});
|
|
2771
|
-
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/views/ModelList.vue?vue&type=template&id=
|
|
2772
|
-
var
|
|
2775
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/views/ModelList.vue?vue&type=template&id=9f3215ac
|
|
2776
|
+
var ModelListvue_type_template_id_9f3215ac_render = function render() {
|
|
2773
2777
|
var _vm = this,
|
|
2774
2778
|
_c = _vm._self._c;
|
|
2775
2779
|
return _c('a-spin', {
|
|
@@ -2936,7 +2940,32 @@ var ModelListvue_type_template_id_c550d45a_render = function render() {
|
|
|
2936
2940
|
"ok": _vm.submitActionView,
|
|
2937
2941
|
"close": _vm.closeActionView,
|
|
2938
2942
|
"cancel": _vm.closeActionView
|
|
2939
|
-
}
|
|
2943
|
+
},
|
|
2944
|
+
scopedSlots: _vm._u([_vm.actionConfigs['form.footer'] ? {
|
|
2945
|
+
key: "footer",
|
|
2946
|
+
fn: function fn() {
|
|
2947
|
+
return [_c(_vm.actionConfigs['form.footer'], {
|
|
2948
|
+
tag: "component",
|
|
2949
|
+
attrs: {
|
|
2950
|
+
"action": _vm.action,
|
|
2951
|
+
"submited": _vm.actionSubmited,
|
|
2952
|
+
"values": _vm.actionModel,
|
|
2953
|
+
"modelViewType": _vm.actionViewType,
|
|
2954
|
+
"widget": _vm.actionViewWidget,
|
|
2955
|
+
"parentIds": _vm.parentIds,
|
|
2956
|
+
"params": _vm.actionParams,
|
|
2957
|
+
"commitResult": _vm.actionCommitResult,
|
|
2958
|
+
"selections": _vm.selections,
|
|
2959
|
+
"schema": _vm.schema
|
|
2960
|
+
},
|
|
2961
|
+
on: {
|
|
2962
|
+
"ok": _vm.submitActionView,
|
|
2963
|
+
"close": _vm.closeActionView
|
|
2964
|
+
}
|
|
2965
|
+
})];
|
|
2966
|
+
},
|
|
2967
|
+
proxy: true
|
|
2968
|
+
} : null], null, true)
|
|
2940
2969
|
}, [_vm.actionViewVisible ? _c('ActionView', {
|
|
2941
2970
|
attrs: {
|
|
2942
2971
|
"action": _vm.action,
|
|
@@ -2986,9 +3015,9 @@ var ModelListvue_type_template_id_c550d45a_render = function render() {
|
|
|
2986
3015
|
}
|
|
2987
3016
|
}, [_vm._v(" 确认 ")])], 1)], 1)], 1) : _vm._e()], 1) : _vm._e()], 1) : _vm._e()]);
|
|
2988
3017
|
};
|
|
2989
|
-
var
|
|
3018
|
+
var ModelListvue_type_template_id_9f3215ac_staticRenderFns = [];
|
|
2990
3019
|
|
|
2991
|
-
// CONCATENATED MODULE: ../src/web/components/views/ModelList.vue?vue&type=template&id=
|
|
3020
|
+
// CONCATENATED MODULE: ../src/web/components/views/ModelList.vue?vue&type=template&id=9f3215ac
|
|
2992
3021
|
|
|
2993
3022
|
// CONCATENATED MODULE: ../src/core/view/base.js
|
|
2994
3023
|
/* harmony default export */ var view_base = ({
|
|
@@ -4284,9 +4313,9 @@ var reInterpolate = /\${([\s\S]+?)}/g;
|
|
|
4284
4313
|
treeData: treeRes.data && treeRes.data.collection,
|
|
4285
4314
|
valuesName: valuesName
|
|
4286
4315
|
});
|
|
4287
|
-
|
|
4316
|
+
// this.actionViewWidget = 'picker-select-view-form'
|
|
4288
4317
|
_this5.showActionView();
|
|
4289
|
-
case
|
|
4318
|
+
case 9:
|
|
4290
4319
|
case "end":
|
|
4291
4320
|
return _context5.stop();
|
|
4292
4321
|
}
|
|
@@ -9923,6 +9952,16 @@ function ModelListvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Mo
|
|
|
9923
9952
|
Popup: Popup,
|
|
9924
9953
|
Cell: Cell
|
|
9925
9954
|
}),
|
|
9955
|
+
computed: {
|
|
9956
|
+
actionConfigs: function actionConfigs() {
|
|
9957
|
+
var _this$action$configs$, _this$action$configs;
|
|
9958
|
+
if (!this.action) return {};
|
|
9959
|
+
return (_this$action$configs$ = (_this$action$configs = this.action.configs) === null || _this$action$configs === void 0 ? void 0 : _this$action$configs.reduce(function (obj, cur) {
|
|
9960
|
+
obj[cur.key] = cur.value;
|
|
9961
|
+
return obj;
|
|
9962
|
+
}, {})) !== null && _this$action$configs$ !== void 0 ? _this$action$configs$ : {};
|
|
9963
|
+
}
|
|
9964
|
+
},
|
|
9926
9965
|
activated: function activated() {
|
|
9927
9966
|
// issue: 20240728; core支持单条数据直接进入详情页
|
|
9928
9967
|
if (this.configs && this.configs['profile.mode'] === 'true') {
|
|
@@ -9946,8 +9985,8 @@ function ModelListvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Mo
|
|
|
9946
9985
|
});
|
|
9947
9986
|
// CONCATENATED MODULE: ../src/web/components/views/ModelList.vue?vue&type=script&lang=js
|
|
9948
9987
|
/* harmony default export */ var views_ModelListvue_type_script_lang_js = (ModelListvue_type_script_lang_js);
|
|
9949
|
-
// EXTERNAL MODULE: ../src/web/components/views/ModelList.vue?vue&type=style&index=0&id=
|
|
9950
|
-
var
|
|
9988
|
+
// EXTERNAL MODULE: ../src/web/components/views/ModelList.vue?vue&type=style&index=0&id=9f3215ac&prod&lang=less
|
|
9989
|
+
var ModelListvue_type_style_index_0_id_9f3215ac_prod_lang_less = __webpack_require__("45db");
|
|
9951
9990
|
|
|
9952
9991
|
// CONCATENATED MODULE: ../src/web/components/views/ModelList.vue
|
|
9953
9992
|
|
|
@@ -9960,8 +9999,8 @@ var ModelListvue_type_style_index_0_id_c550d45a_prod_lang_less = __webpack_requi
|
|
|
9960
9999
|
|
|
9961
10000
|
var ModelList_component = normalizeComponent(
|
|
9962
10001
|
views_ModelListvue_type_script_lang_js,
|
|
9963
|
-
|
|
9964
|
-
|
|
10002
|
+
ModelListvue_type_template_id_9f3215ac_render,
|
|
10003
|
+
ModelListvue_type_template_id_9f3215ac_staticRenderFns,
|
|
9965
10004
|
false,
|
|
9966
10005
|
null,
|
|
9967
10006
|
null,
|
|
@@ -9970,8 +10009,8 @@ var ModelList_component = normalizeComponent(
|
|
|
9970
10009
|
)
|
|
9971
10010
|
|
|
9972
10011
|
/* harmony default export */ var ModelList = (ModelList_component.exports);
|
|
9973
|
-
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/views/ModelProfile.vue?vue&type=template&id=
|
|
9974
|
-
var
|
|
10012
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/views/ModelProfile.vue?vue&type=template&id=614670ae
|
|
10013
|
+
var ModelProfilevue_type_template_id_614670ae_render = function render() {
|
|
9975
10014
|
var _vm = this,
|
|
9976
10015
|
_c = _vm._self._c;
|
|
9977
10016
|
return _c('a-spin', {
|
|
@@ -10088,7 +10127,32 @@ var ModelProfilevue_type_template_id_b2d952ba_render = function render() {
|
|
|
10088
10127
|
"ok": _vm.submitActionView,
|
|
10089
10128
|
"close": _vm.closeActionView,
|
|
10090
10129
|
"cancel": _vm.closeActionView
|
|
10091
|
-
}
|
|
10130
|
+
},
|
|
10131
|
+
scopedSlots: _vm._u([_vm.actionConfigs['form.footer'] ? {
|
|
10132
|
+
key: "footer",
|
|
10133
|
+
fn: function fn() {
|
|
10134
|
+
return [_c(_vm.actionConfigs['form.footer'], {
|
|
10135
|
+
tag: "component",
|
|
10136
|
+
attrs: {
|
|
10137
|
+
"action": _vm.action,
|
|
10138
|
+
"submited": _vm.actionSubmited,
|
|
10139
|
+
"values": _vm.actionModel,
|
|
10140
|
+
"modelViewType": _vm.actionViewType,
|
|
10141
|
+
"widget": _vm.actionViewWidget,
|
|
10142
|
+
"parentIds": _vm.parentIds,
|
|
10143
|
+
"params": _vm.actionParams,
|
|
10144
|
+
"commitResult": _vm.actionCommitResult,
|
|
10145
|
+
"selections": _vm.selections,
|
|
10146
|
+
"schema": _vm.schema
|
|
10147
|
+
},
|
|
10148
|
+
on: {
|
|
10149
|
+
"ok": _vm.submitActionView,
|
|
10150
|
+
"close": _vm.closeActionView
|
|
10151
|
+
}
|
|
10152
|
+
})];
|
|
10153
|
+
},
|
|
10154
|
+
proxy: true
|
|
10155
|
+
} : null], null, true)
|
|
10092
10156
|
}, [_vm.actionViewVisible ? _c('ActionView', {
|
|
10093
10157
|
attrs: {
|
|
10094
10158
|
"action": _vm.action,
|
|
@@ -10136,9 +10200,9 @@ var ModelProfilevue_type_template_id_b2d952ba_render = function render() {
|
|
|
10136
10200
|
}
|
|
10137
10201
|
}, [_vm._v(" 确认 ")])], 1)], 1)], 1) : _vm._e()], 1) : _vm._e()], 1)], 1);
|
|
10138
10202
|
};
|
|
10139
|
-
var
|
|
10203
|
+
var ModelProfilevue_type_template_id_614670ae_staticRenderFns = [];
|
|
10140
10204
|
|
|
10141
|
-
// CONCATENATED MODULE: ../src/web/components/views/ModelProfile.vue?vue&type=template&id=
|
|
10205
|
+
// CONCATENATED MODULE: ../src/web/components/views/ModelProfile.vue?vue&type=template&id=614670ae
|
|
10142
10206
|
|
|
10143
10207
|
// CONCATENATED MODULE: ../src/core/view/profile.js
|
|
10144
10208
|
function profile_typeof(o) { "@babel/helpers - typeof"; return profile_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, profile_typeof(o); }
|
|
@@ -11607,13 +11671,21 @@ function ModelProfilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
11607
11671
|
// issue: 20240728; core支持单条数据直接进入详情页,并且详情页没有返回按钮
|
|
11608
11672
|
onlyProfile: function onlyProfile() {
|
|
11609
11673
|
return this.configs ? this.configs['profile.mode'] === 'true' : null;
|
|
11674
|
+
},
|
|
11675
|
+
actionConfigs: function actionConfigs() {
|
|
11676
|
+
var _this$action$configs$, _this$action$configs;
|
|
11677
|
+
if (!this.action) return {};
|
|
11678
|
+
return (_this$action$configs$ = (_this$action$configs = this.action.configs) === null || _this$action$configs === void 0 ? void 0 : _this$action$configs.reduce(function (obj, cur) {
|
|
11679
|
+
obj[cur.key] = cur.value;
|
|
11680
|
+
return obj;
|
|
11681
|
+
}, {})) !== null && _this$action$configs$ !== void 0 ? _this$action$configs$ : {};
|
|
11610
11682
|
}
|
|
11611
11683
|
}
|
|
11612
11684
|
});
|
|
11613
11685
|
// CONCATENATED MODULE: ../src/web/components/views/ModelProfile.vue?vue&type=script&lang=js
|
|
11614
11686
|
/* harmony default export */ var views_ModelProfilevue_type_script_lang_js = (ModelProfilevue_type_script_lang_js);
|
|
11615
|
-
// EXTERNAL MODULE: ../src/web/components/views/ModelProfile.vue?vue&type=style&index=0&id=
|
|
11616
|
-
var
|
|
11687
|
+
// EXTERNAL MODULE: ../src/web/components/views/ModelProfile.vue?vue&type=style&index=0&id=614670ae&prod&lang=less
|
|
11688
|
+
var ModelProfilevue_type_style_index_0_id_614670ae_prod_lang_less = __webpack_require__("1bf9");
|
|
11617
11689
|
|
|
11618
11690
|
// CONCATENATED MODULE: ../src/web/components/views/ModelProfile.vue
|
|
11619
11691
|
|
|
@@ -11626,8 +11698,8 @@ var ModelProfilevue_type_style_index_0_id_b2d952ba_prod_lang_less = __webpack_re
|
|
|
11626
11698
|
|
|
11627
11699
|
var ModelProfile_component = normalizeComponent(
|
|
11628
11700
|
views_ModelProfilevue_type_script_lang_js,
|
|
11629
|
-
|
|
11630
|
-
|
|
11701
|
+
ModelProfilevue_type_template_id_614670ae_render,
|
|
11702
|
+
ModelProfilevue_type_template_id_614670ae_staticRenderFns,
|
|
11631
11703
|
false,
|
|
11632
11704
|
null,
|
|
11633
11705
|
null,
|
|
@@ -15384,273 +15456,6 @@ var PickerTree_component = normalizeComponent(
|
|
|
15384
15456
|
)
|
|
15385
15457
|
|
|
15386
15458
|
/* harmony default export */ var PickerTree = (PickerTree_component.exports);
|
|
15387
|
-
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/PickerSelectView.vue?vue&type=template&id=5f0008cf
|
|
15388
|
-
var PickerSelectViewvue_type_template_id_5f0008cf_render = function render() {
|
|
15389
|
-
var _vm = this,
|
|
15390
|
-
_c = _vm._self._c;
|
|
15391
|
-
return _c('a-table', {
|
|
15392
|
-
attrs: {
|
|
15393
|
-
"columns": _vm.cols,
|
|
15394
|
-
"data-source": _vm.treeData,
|
|
15395
|
-
"rowKey": "type_id",
|
|
15396
|
-
"scroll": {
|
|
15397
|
-
y: 400
|
|
15398
|
-
},
|
|
15399
|
-
"pagination": false,
|
|
15400
|
-
"rowSelection": {
|
|
15401
|
-
selectedRowKeys: _vm.selectedRowKeys,
|
|
15402
|
-
onChange: _vm.handleRowChange,
|
|
15403
|
-
onSelect: _vm.handleRowSelect,
|
|
15404
|
-
type: 'checkbox'
|
|
15405
|
-
}
|
|
15406
|
-
},
|
|
15407
|
-
scopedSlots: _vm._u([{
|
|
15408
|
-
key: "expert",
|
|
15409
|
-
fn: function fn(text, record) {
|
|
15410
|
-
return _c('span', {}, [_c('a-select', {
|
|
15411
|
-
staticStyle: {
|
|
15412
|
-
"width": "120px"
|
|
15413
|
-
},
|
|
15414
|
-
attrs: {
|
|
15415
|
-
"placeholder": "请选择",
|
|
15416
|
-
"allowClear": ""
|
|
15417
|
-
},
|
|
15418
|
-
on: {
|
|
15419
|
-
"change": function change($event) {
|
|
15420
|
-
return _vm.handleSelectExpertChange($event, record);
|
|
15421
|
-
}
|
|
15422
|
-
}
|
|
15423
|
-
}, _vm._l(_vm.experts, function (expert) {
|
|
15424
|
-
return _c('a-select-option', {
|
|
15425
|
-
key: expert.expert_id,
|
|
15426
|
-
attrs: {
|
|
15427
|
-
"value": expert.expert_id
|
|
15428
|
-
}
|
|
15429
|
-
}, [_vm._v(" " + _vm._s(expert.expert_name) + " ")]);
|
|
15430
|
-
}), 1)], 1);
|
|
15431
|
-
}
|
|
15432
|
-
}, {
|
|
15433
|
-
key: "checker",
|
|
15434
|
-
fn: function fn(text, record) {
|
|
15435
|
-
return _c('span', {}, [_c('a-select', {
|
|
15436
|
-
staticStyle: {
|
|
15437
|
-
"width": "120px"
|
|
15438
|
-
},
|
|
15439
|
-
attrs: {
|
|
15440
|
-
"placeholder": "请选择",
|
|
15441
|
-
"allowClear": ""
|
|
15442
|
-
},
|
|
15443
|
-
on: {
|
|
15444
|
-
"change": function change($event) {
|
|
15445
|
-
return _vm.handleSelectCheckerChange($event, record);
|
|
15446
|
-
}
|
|
15447
|
-
}
|
|
15448
|
-
}, _vm._l(_vm.checkers, function (checker) {
|
|
15449
|
-
return _c('a-select-option', {
|
|
15450
|
-
key: checker.uid,
|
|
15451
|
-
attrs: {
|
|
15452
|
-
"value": checker.uid
|
|
15453
|
-
}
|
|
15454
|
-
}, [_vm._v(" " + _vm._s(checker.user_name) + " ")]);
|
|
15455
|
-
}), 1)], 1);
|
|
15456
|
-
}
|
|
15457
|
-
}])
|
|
15458
|
-
});
|
|
15459
|
-
};
|
|
15460
|
-
var PickerSelectViewvue_type_template_id_5f0008cf_staticRenderFns = [];
|
|
15461
|
-
|
|
15462
|
-
// CONCATENATED MODULE: ../src/web/components/forms/PickerSelectView.vue?vue&type=template&id=5f0008cf
|
|
15463
|
-
|
|
15464
|
-
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/PickerSelectView.vue?vue&type=script&lang=js
|
|
15465
|
-
function PickerSelectViewvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return PickerSelectViewvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, PickerSelectViewvue_type_script_lang_js_typeof(o); }
|
|
15466
|
-
function PickerSelectViewvue_type_script_lang_js_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15467
|
-
function PickerSelectViewvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? PickerSelectViewvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { PickerSelectViewvue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : PickerSelectViewvue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15468
|
-
function PickerSelectViewvue_type_script_lang_js_defineProperty(obj, key, value) { key = PickerSelectViewvue_type_script_lang_js_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15469
|
-
function PickerSelectViewvue_type_script_lang_js_toPropertyKey(t) { var i = PickerSelectViewvue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == PickerSelectViewvue_type_script_lang_js_typeof(i) ? i : String(i); }
|
|
15470
|
-
function PickerSelectViewvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != PickerSelectViewvue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != PickerSelectViewvue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
15471
|
-
function PickerSelectViewvue_type_script_lang_js_toConsumableArray(arr) { return PickerSelectViewvue_type_script_lang_js_arrayWithoutHoles(arr) || PickerSelectViewvue_type_script_lang_js_iterableToArray(arr) || PickerSelectViewvue_type_script_lang_js_unsupportedIterableToArray(arr) || PickerSelectViewvue_type_script_lang_js_nonIterableSpread(); }
|
|
15472
|
-
function PickerSelectViewvue_type_script_lang_js_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
15473
|
-
function PickerSelectViewvue_type_script_lang_js_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return PickerSelectViewvue_type_script_lang_js_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return PickerSelectViewvue_type_script_lang_js_arrayLikeToArray(o, minLen); }
|
|
15474
|
-
function PickerSelectViewvue_type_script_lang_js_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
15475
|
-
function PickerSelectViewvue_type_script_lang_js_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return PickerSelectViewvue_type_script_lang_js_arrayLikeToArray(arr); }
|
|
15476
|
-
function PickerSelectViewvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
15477
|
-
function PickerSelectViewvue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ PickerSelectViewvue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == PickerSelectViewvue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(PickerSelectViewvue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
15478
|
-
function PickerSelectViewvue_type_script_lang_js_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
15479
|
-
function PickerSelectViewvue_type_script_lang_js_asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { PickerSelectViewvue_type_script_lang_js_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { PickerSelectViewvue_type_script_lang_js_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
15480
|
-
|
|
15481
|
-
/* harmony default export */ var PickerSelectViewvue_type_script_lang_js = ({
|
|
15482
|
-
mixins: [form_base],
|
|
15483
|
-
computed: {
|
|
15484
|
-
selectedRowKeys: function selectedRowKeys() {
|
|
15485
|
-
return this.selections.map(function (item) {
|
|
15486
|
-
return item.type_id;
|
|
15487
|
-
});
|
|
15488
|
-
}
|
|
15489
|
-
},
|
|
15490
|
-
data: function data() {
|
|
15491
|
-
return {
|
|
15492
|
-
treeData: this.params.treeData || [],
|
|
15493
|
-
valuesName: this.params.valuesName,
|
|
15494
|
-
cols: [
|
|
15495
|
-
// {
|
|
15496
|
-
// title: '项目类型',
|
|
15497
|
-
// dataIndex: 'project_type',
|
|
15498
|
-
// key: 'project_type'
|
|
15499
|
-
// },
|
|
15500
|
-
{
|
|
15501
|
-
title: '评审技术要求',
|
|
15502
|
-
dataIndex: 'review_tech_require',
|
|
15503
|
-
key: 'review_tech_require'
|
|
15504
|
-
}, {
|
|
15505
|
-
title: '评审专家',
|
|
15506
|
-
key: 'expert',
|
|
15507
|
-
scopedSlots: {
|
|
15508
|
-
customRender: 'expert'
|
|
15509
|
-
}
|
|
15510
|
-
}, {
|
|
15511
|
-
title: '校核人',
|
|
15512
|
-
key: 'checker',
|
|
15513
|
-
scopedSlots: {
|
|
15514
|
-
customRender: 'checker'
|
|
15515
|
-
}
|
|
15516
|
-
}],
|
|
15517
|
-
experts: [],
|
|
15518
|
-
checkers: [],
|
|
15519
|
-
selections: []
|
|
15520
|
-
};
|
|
15521
|
-
},
|
|
15522
|
-
created: function created() {
|
|
15523
|
-
var _this = this;
|
|
15524
|
-
return PickerSelectViewvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
15525
|
-
return PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
15526
|
-
while (1) switch (_context.prev = _context.next) {
|
|
15527
|
-
case 0:
|
|
15528
|
-
_context.next = 2;
|
|
15529
|
-
return _this.getExperts();
|
|
15530
|
-
case 2:
|
|
15531
|
-
_context.next = 4;
|
|
15532
|
-
return _this.getCheckers();
|
|
15533
|
-
case 4:
|
|
15534
|
-
case "end":
|
|
15535
|
-
return _context.stop();
|
|
15536
|
-
}
|
|
15537
|
-
}, _callee);
|
|
15538
|
-
}))();
|
|
15539
|
-
},
|
|
15540
|
-
methods: {
|
|
15541
|
-
getExperts: function getExperts() {
|
|
15542
|
-
var _this2 = this;
|
|
15543
|
-
return PickerSelectViewvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
15544
|
-
var _yield$_this2$$api$ge, collection;
|
|
15545
|
-
return PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
15546
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
15547
|
-
case 0:
|
|
15548
|
-
_context2.prev = 0;
|
|
15549
|
-
_context2.next = 3;
|
|
15550
|
-
return _this2.$api.get('/api/view-select-expert');
|
|
15551
|
-
case 3:
|
|
15552
|
-
_yield$_this2$$api$ge = _context2.sent;
|
|
15553
|
-
collection = _yield$_this2$$api$ge.data.collection;
|
|
15554
|
-
_this2.experts = PickerSelectViewvue_type_script_lang_js_toConsumableArray(collection);
|
|
15555
|
-
_context2.next = 11;
|
|
15556
|
-
break;
|
|
15557
|
-
case 8:
|
|
15558
|
-
_context2.prev = 8;
|
|
15559
|
-
_context2.t0 = _context2["catch"](0);
|
|
15560
|
-
_this2.handleError(_context2.t0);
|
|
15561
|
-
case 11:
|
|
15562
|
-
case "end":
|
|
15563
|
-
return _context2.stop();
|
|
15564
|
-
}
|
|
15565
|
-
}, _callee2, null, [[0, 8]]);
|
|
15566
|
-
}))();
|
|
15567
|
-
},
|
|
15568
|
-
getCheckers: function getCheckers() {
|
|
15569
|
-
var _this3 = this;
|
|
15570
|
-
return PickerSelectViewvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
15571
|
-
var _yield$_this3$$api$ge, collection;
|
|
15572
|
-
return PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
15573
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
15574
|
-
case 0:
|
|
15575
|
-
_context3.prev = 0;
|
|
15576
|
-
_context3.next = 3;
|
|
15577
|
-
return _this3.$api.get('/api/view-select-checker');
|
|
15578
|
-
case 3:
|
|
15579
|
-
_yield$_this3$$api$ge = _context3.sent;
|
|
15580
|
-
collection = _yield$_this3$$api$ge.data.collection;
|
|
15581
|
-
_this3.checkers = PickerSelectViewvue_type_script_lang_js_toConsumableArray(collection);
|
|
15582
|
-
_context3.next = 11;
|
|
15583
|
-
break;
|
|
15584
|
-
case 8:
|
|
15585
|
-
_context3.prev = 8;
|
|
15586
|
-
_context3.t0 = _context3["catch"](0);
|
|
15587
|
-
_this3.handleError(_context3.t0);
|
|
15588
|
-
case 11:
|
|
15589
|
-
case "end":
|
|
15590
|
-
return _context3.stop();
|
|
15591
|
-
}
|
|
15592
|
-
}, _callee3, null, [[0, 8]]);
|
|
15593
|
-
}))();
|
|
15594
|
-
},
|
|
15595
|
-
handleSelectExpertChange: function handleSelectExpertChange(value, record) {
|
|
15596
|
-
var index = this.treeData.findIndex(function (item) {
|
|
15597
|
-
return item.type_id === record.type_id;
|
|
15598
|
-
});
|
|
15599
|
-
if (index !== -1) this.treeData[index].expert_id = value;
|
|
15600
|
-
},
|
|
15601
|
-
handleSelectCheckerChange: function handleSelectCheckerChange(value, record) {
|
|
15602
|
-
var index = this.treeData.findIndex(function (item) {
|
|
15603
|
-
return item.type_id === record.type_id;
|
|
15604
|
-
});
|
|
15605
|
-
if (index !== -1) this.treeData[index].uid = value;
|
|
15606
|
-
},
|
|
15607
|
-
handleSubmit: function handleSubmit() {
|
|
15608
|
-
this.handleCommit();
|
|
15609
|
-
},
|
|
15610
|
-
handleRowChange: function handleRowChange(selectedRowKeys, selectedRows) {
|
|
15611
|
-
this.selections = selectedRows;
|
|
15612
|
-
this.actionModel = PickerSelectViewvue_type_script_lang_js_objectSpread(PickerSelectViewvue_type_script_lang_js_objectSpread({}, this.actionModel), {}, PickerSelectViewvue_type_script_lang_js_defineProperty({}, this.valuesName, this.selections));
|
|
15613
|
-
},
|
|
15614
|
-
handleRowSelect: function handleRowSelect(record, selected) {
|
|
15615
|
-
var index = this.treeData.findIndex(function (item) {
|
|
15616
|
-
return item.type_id === record.type_id;
|
|
15617
|
-
});
|
|
15618
|
-
if (index !== -1) this.treeData[index].checked = selected ? 1 : 0;
|
|
15619
|
-
},
|
|
15620
|
-
handleError: function handleError(error) {
|
|
15621
|
-
if (!error.response) {
|
|
15622
|
-
this.$message.error('网络请求错误,请检查您的网络连接。');
|
|
15623
|
-
}
|
|
15624
|
-
var _error$response = error.response,
|
|
15625
|
-
status = _error$response.status,
|
|
15626
|
-
data = _error$response.data;
|
|
15627
|
-
var message = data && data.content || '系统错误请与管理员联系。';
|
|
15628
|
-
this.$message.error("".concat(status, ", ").concat(message));
|
|
15629
|
-
}
|
|
15630
|
-
}
|
|
15631
|
-
});
|
|
15632
|
-
// CONCATENATED MODULE: ../src/web/components/forms/PickerSelectView.vue?vue&type=script&lang=js
|
|
15633
|
-
/* harmony default export */ var forms_PickerSelectViewvue_type_script_lang_js = (PickerSelectViewvue_type_script_lang_js);
|
|
15634
|
-
// CONCATENATED MODULE: ../src/web/components/forms/PickerSelectView.vue
|
|
15635
|
-
|
|
15636
|
-
|
|
15637
|
-
|
|
15638
|
-
|
|
15639
|
-
|
|
15640
|
-
/* normalize component */
|
|
15641
|
-
|
|
15642
|
-
var PickerSelectView_component = normalizeComponent(
|
|
15643
|
-
forms_PickerSelectViewvue_type_script_lang_js,
|
|
15644
|
-
PickerSelectViewvue_type_template_id_5f0008cf_render,
|
|
15645
|
-
PickerSelectViewvue_type_template_id_5f0008cf_staticRenderFns,
|
|
15646
|
-
false,
|
|
15647
|
-
null,
|
|
15648
|
-
null,
|
|
15649
|
-
null
|
|
15650
|
-
|
|
15651
|
-
)
|
|
15652
|
-
|
|
15653
|
-
/* harmony default export */ var PickerSelectView = (PickerSelectView_component.exports);
|
|
15654
15459
|
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/WorkflowReport.vue?vue&type=template&id=9c781256
|
|
15655
15460
|
var WorkflowReportvue_type_template_id_9c781256_render = function render() {
|
|
15656
15461
|
var _vm = this,
|
|
@@ -16560,6 +16365,7 @@ NodeType_defineProperty(NodeType_NodeType, "START", 'start');
|
|
|
16560
16365
|
NodeType_defineProperty(NodeType_NodeType, "END", 'end');
|
|
16561
16366
|
NodeType_defineProperty(NodeType_NodeType, "CHECK", 'check');
|
|
16562
16367
|
NodeType_defineProperty(NodeType_NodeType, "CC", 'cc');
|
|
16368
|
+
NodeType_defineProperty(NodeType_NodeType, "TASK", 'task');
|
|
16563
16369
|
NodeType_defineProperty(NodeType_NodeType, "TRIGGER", 'trigger');
|
|
16564
16370
|
NodeType_defineProperty(NodeType_NodeType, "DELAY", 'delay');
|
|
16565
16371
|
NodeType_defineProperty(NodeType_NodeType, "PARALLEL_WRAP", 'parallel_wrap');
|
|
@@ -16586,6 +16392,9 @@ function initNodeTypes() {
|
|
|
16586
16392
|
NodeType_NodeType.registerNodeType(NodeType_NodeType.CC, 'single', 'CCNode', function () {
|
|
16587
16393
|
return new designer_NodeItem('抄送人', '抄送人', null, NodeType_NodeType.CC);
|
|
16588
16394
|
});
|
|
16395
|
+
NodeType_NodeType.registerNodeType(NodeType_NodeType.TASK, 'single', 'TaskNode', function () {
|
|
16396
|
+
return new designer_NodeItem('执行人', '执行人', null, NodeType_NodeType.TASK);
|
|
16397
|
+
});
|
|
16589
16398
|
NodeType_NodeType.registerNodeType(NodeType_NodeType.TRIGGER, 'single', 'TriggerNode', function () {
|
|
16590
16399
|
return new designer_NodeItem('触发器', '触发器', null, NodeType_NodeType.TRIGGER);
|
|
16591
16400
|
});
|
|
@@ -19618,14 +19427,14 @@ var ParallelWrapNode_component = normalizeComponent(
|
|
|
19618
19427
|
)
|
|
19619
19428
|
|
|
19620
19429
|
/* harmony default export */ var ParallelWrapNode = (ParallelWrapNode_component.exports);
|
|
19621
|
-
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=
|
|
19622
|
-
function
|
|
19623
|
-
function
|
|
19624
|
-
function
|
|
19625
|
-
function
|
|
19626
|
-
function
|
|
19627
|
-
function
|
|
19628
|
-
var
|
|
19430
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=0980fb16&scoped=true
|
|
19431
|
+
function CheckNodevue_type_template_id_0980fb16_scoped_true_toConsumableArray(arr) { return CheckNodevue_type_template_id_0980fb16_scoped_true_arrayWithoutHoles(arr) || CheckNodevue_type_template_id_0980fb16_scoped_true_iterableToArray(arr) || CheckNodevue_type_template_id_0980fb16_scoped_true_unsupportedIterableToArray(arr) || CheckNodevue_type_template_id_0980fb16_scoped_true_nonIterableSpread(); }
|
|
19432
|
+
function CheckNodevue_type_template_id_0980fb16_scoped_true_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
19433
|
+
function CheckNodevue_type_template_id_0980fb16_scoped_true_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return CheckNodevue_type_template_id_0980fb16_scoped_true_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return CheckNodevue_type_template_id_0980fb16_scoped_true_arrayLikeToArray(o, minLen); }
|
|
19434
|
+
function CheckNodevue_type_template_id_0980fb16_scoped_true_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
19435
|
+
function CheckNodevue_type_template_id_0980fb16_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return CheckNodevue_type_template_id_0980fb16_scoped_true_arrayLikeToArray(arr); }
|
|
19436
|
+
function CheckNodevue_type_template_id_0980fb16_scoped_true_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
19437
|
+
var CheckNodevue_type_template_id_0980fb16_scoped_true_render = function render() {
|
|
19629
19438
|
var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$noticeTemplateAtt;
|
|
19630
19439
|
var _vm = this,
|
|
19631
19440
|
_c = _vm._self._c;
|
|
@@ -20059,7 +19868,7 @@ var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render(
|
|
|
20059
19868
|
},
|
|
20060
19869
|
attrs: {
|
|
20061
19870
|
"filterOption": _vm.filterUser,
|
|
20062
|
-
"options": [].concat(
|
|
19871
|
+
"options": [].concat(CheckNodevue_type_template_id_0980fb16_scoped_true_toConsumableArray(_vm.businessUserData), CheckNodevue_type_template_id_0980fb16_scoped_true_toConsumableArray(_vm.users)),
|
|
20063
19872
|
"mode": "multiple",
|
|
20064
19873
|
"placeholder": "选择人"
|
|
20065
19874
|
},
|
|
@@ -20087,7 +19896,7 @@ var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render(
|
|
|
20087
19896
|
maxHeight: '400px',
|
|
20088
19897
|
overflow: 'auto'
|
|
20089
19898
|
},
|
|
20090
|
-
"tree-data": [_vm.businessOrgData].concat(
|
|
19899
|
+
"tree-data": [_vm.businessOrgData].concat(CheckNodevue_type_template_id_0980fb16_scoped_true_toConsumableArray(_vm.orgData)),
|
|
20091
19900
|
"allowClear": "",
|
|
20092
19901
|
"placeholder": "部门",
|
|
20093
19902
|
"tree-default-expand-all": ""
|
|
@@ -21211,9 +21020,9 @@ var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render(
|
|
|
21211
21020
|
}
|
|
21212
21021
|
}) : _vm._e()], 1)]) : _vm._e()], 1)], 1) : _vm._e()], 1);
|
|
21213
21022
|
};
|
|
21214
|
-
var
|
|
21023
|
+
var CheckNodevue_type_template_id_0980fb16_scoped_true_staticRenderFns = [];
|
|
21215
21024
|
|
|
21216
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=
|
|
21025
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=0980fb16&scoped=true
|
|
21217
21026
|
|
|
21218
21027
|
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=script&lang=js
|
|
21219
21028
|
function CheckNodevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return CheckNodevue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, CheckNodevue_type_script_lang_js_typeof(o); }
|
|
@@ -21311,7 +21120,7 @@ function CheckNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Ch
|
|
|
21311
21120
|
nodeHandler = _ref.nodeHandler;
|
|
21312
21121
|
// icon;
|
|
21313
21122
|
var icon = {
|
|
21314
|
-
template: "\n <svg viewBox=\"0 0 1024 1024\">\n <path fill=\"
|
|
21123
|
+
template: "\n <svg viewBox=\"0 0 1024 1024\">\n <path fill=\"currentColor\" d=\"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0zm544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z\"></path>\n </svg>\n "
|
|
21315
21124
|
};
|
|
21316
21125
|
|
|
21317
21126
|
// drawer support
|
|
@@ -21938,8 +21747,8 @@ function CheckNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Ch
|
|
|
21938
21747
|
});
|
|
21939
21748
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=script&lang=js
|
|
21940
21749
|
/* harmony default export */ var node_CheckNodevue_type_script_lang_js = (CheckNodevue_type_script_lang_js);
|
|
21941
|
-
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=style&index=0&id=
|
|
21942
|
-
var
|
|
21750
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=style&index=0&id=0980fb16&prod&lang=less&scoped=true
|
|
21751
|
+
var CheckNodevue_type_style_index_0_id_0980fb16_prod_lang_less_scoped_true = __webpack_require__("05ec");
|
|
21943
21752
|
|
|
21944
21753
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue
|
|
21945
21754
|
|
|
@@ -21952,11 +21761,11 @@ var CheckNodevue_type_style_index_0_id_14b216a6_prod_lang_less_scoped_true = __w
|
|
|
21952
21761
|
|
|
21953
21762
|
var CheckNode_component = normalizeComponent(
|
|
21954
21763
|
node_CheckNodevue_type_script_lang_js,
|
|
21955
|
-
|
|
21956
|
-
|
|
21764
|
+
CheckNodevue_type_template_id_0980fb16_scoped_true_render,
|
|
21765
|
+
CheckNodevue_type_template_id_0980fb16_scoped_true_staticRenderFns,
|
|
21957
21766
|
false,
|
|
21958
21767
|
null,
|
|
21959
|
-
"
|
|
21768
|
+
"0980fb16",
|
|
21960
21769
|
null
|
|
21961
21770
|
|
|
21962
21771
|
)
|
|
@@ -23610,7 +23419,2264 @@ function CCNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != CCNod
|
|
|
23610
23419
|
});
|
|
23611
23420
|
}
|
|
23612
23421
|
return dataset.filter(function (o) {
|
|
23613
|
-
var _iterator = CCNodevue_type_script_lang_js_createForOfIteratorHelper(datasetKeys),
|
|
23422
|
+
var _iterator = CCNodevue_type_script_lang_js_createForOfIteratorHelper(datasetKeys),
|
|
23423
|
+
_step;
|
|
23424
|
+
try {
|
|
23425
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
23426
|
+
var key = _step.value;
|
|
23427
|
+
if (o[key].toString().toLowerCase().includes(filter.toLowerCase())) {
|
|
23428
|
+
return true;
|
|
23429
|
+
}
|
|
23430
|
+
}
|
|
23431
|
+
} catch (err) {
|
|
23432
|
+
_iterator.e(err);
|
|
23433
|
+
} finally {
|
|
23434
|
+
_iterator.f();
|
|
23435
|
+
}
|
|
23436
|
+
return false;
|
|
23437
|
+
}).filter(function (o) {
|
|
23438
|
+
return _this2.formsColumnAccess === 'all' || _this2.formsColumnAccess.indexOf(o.access.toString()) !== -1;
|
|
23439
|
+
});
|
|
23440
|
+
},
|
|
23441
|
+
getClass: function getClass() {
|
|
23442
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
|
|
23443
|
+
var classes = '';
|
|
23444
|
+
if (this.node.error) {
|
|
23445
|
+
classes += ' error';
|
|
23446
|
+
}
|
|
23447
|
+
if (((_this$nodeHandler = this.nodeHandler) === null || _this$nodeHandler === void 0 || (_this$nodeHandler = _this$nodeHandler.runtimeData) === null || _this$nodeHandler === void 0 ? void 0 : _this$nodeHandler.currentNodeCode) === this.node.code) {
|
|
23448
|
+
classes += ' ongoing';
|
|
23449
|
+
} else if ((_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2 = _this$nodeHandler2.runtimeData) !== null && _this$nodeHandler2 !== void 0 && _this$nodeHandler2.caseNodes && (_this$nodeHandler3 = this.nodeHandler) !== null && _this$nodeHandler3 !== void 0 && (_this$nodeHandler3 = _this$nodeHandler3.runtimeData) !== null && _this$nodeHandler3 !== void 0 && (_this$nodeHandler3 = _this$nodeHandler3.caseNodes[this.node.code]) !== null && _this$nodeHandler3 !== void 0 && _this$nodeHandler3.status) {
|
|
23450
|
+
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
23451
|
+
}
|
|
23452
|
+
return classes;
|
|
23453
|
+
},
|
|
23454
|
+
/**
|
|
23455
|
+
*
|
|
23456
|
+
* @param node {NodeItem}
|
|
23457
|
+
*/
|
|
23458
|
+
loadCache: function loadCache(node) {
|
|
23459
|
+
var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2;
|
|
23460
|
+
this.optionViewType = (_node$data$eadCache$w = (_node$data = node.data) === null || _node$data === void 0 || (_node$data = _node$data.eadCache) === null || _node$data === void 0 || (_node$data = _node$data.workflow) === null || _node$data === void 0 ? void 0 : _node$data.optionViewType) !== null && _node$data$eadCache$w !== void 0 ? _node$data$eadCache$w : this.optionViewType;
|
|
23461
|
+
this.optionViewList = (_node$data$eadCache$w2 = (_node$data2 = node.data) === null || _node$data2 === void 0 || (_node$data2 = _node$data2.eadCache) === null || _node$data2 === void 0 || (_node$data2 = _node$data2.workflow) === null || _node$data2 === void 0 ? void 0 : _node$data2.optionViewList) !== null && _node$data$eadCache$w2 !== void 0 ? _node$data$eadCache$w2 : this.optionViewList;
|
|
23462
|
+
},
|
|
23463
|
+
hasExpression: function hasExpression(item) {
|
|
23464
|
+
if (item.type === 'uid') {
|
|
23465
|
+
return item.user && item.user.length;
|
|
23466
|
+
}
|
|
23467
|
+
if (item.type === 'org') {
|
|
23468
|
+
return item.orgId || item.roleId || item.groupId;
|
|
23469
|
+
}
|
|
23470
|
+
return false;
|
|
23471
|
+
},
|
|
23472
|
+
'handleItemChange': function handleItemChange(d, b) {},
|
|
23473
|
+
'optionFormsRadioChange': function optionFormsRadioChange(type) {
|
|
23474
|
+
// eslint-disable-next-line no-return-assign
|
|
23475
|
+
this.node.data.option_forms.forEach(function (value) {
|
|
23476
|
+
return value.access = type;
|
|
23477
|
+
});
|
|
23478
|
+
},
|
|
23479
|
+
optionViewChange: function optionViewChange(id) {
|
|
23480
|
+
var _this3 = this;
|
|
23481
|
+
return CCNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/CCNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
23482
|
+
return CCNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
23483
|
+
while (1) switch (_context.prev = _context.next) {
|
|
23484
|
+
case 0:
|
|
23485
|
+
_this3.formsColumnFilter = undefined;
|
|
23486
|
+
_this3.nodeRef.data.option_view_id = id;
|
|
23487
|
+
_this3.nodeRef.data.eadCache.workflow.optionViewList = [_this3.optionViewList.find(function (item) {
|
|
23488
|
+
return item.value === id;
|
|
23489
|
+
})];
|
|
23490
|
+
_this3.viewAttrLoading = true;
|
|
23491
|
+
_context.next = 6;
|
|
23492
|
+
return _this3.eadApi.getViewAttrs(id);
|
|
23493
|
+
case 6:
|
|
23494
|
+
_this3.nodeRef.data.option_forms = _context.sent.filter(function (attr) {
|
|
23495
|
+
return attr.type === 'value' && attr.access !== 'none';
|
|
23496
|
+
}).filter(function (attr) {
|
|
23497
|
+
return attr.key_type !== 'primary';
|
|
23498
|
+
}).map(function (attr) {
|
|
23499
|
+
return {
|
|
23500
|
+
attrId: attr.id,
|
|
23501
|
+
attrName: attr.alias,
|
|
23502
|
+
attrCode: attr.name,
|
|
23503
|
+
access: 'none',
|
|
23504
|
+
required: attr.required
|
|
23505
|
+
};
|
|
23506
|
+
});
|
|
23507
|
+
_this3.viewAttrLoading = false;
|
|
23508
|
+
case 8:
|
|
23509
|
+
case "end":
|
|
23510
|
+
return _context.stop();
|
|
23511
|
+
}
|
|
23512
|
+
}, _callee);
|
|
23513
|
+
}))();
|
|
23514
|
+
},
|
|
23515
|
+
'optionViewSearch': function optionViewSearch(s) {
|
|
23516
|
+
var _this4 = this;
|
|
23517
|
+
if (this.viewNametimeout) {
|
|
23518
|
+
clearTimeout(this.viewNametimeout);
|
|
23519
|
+
this.viewNametimeout = null;
|
|
23520
|
+
}
|
|
23521
|
+
var go = function go() {
|
|
23522
|
+
if (!s) {
|
|
23523
|
+
return;
|
|
23524
|
+
}
|
|
23525
|
+
_this4.eadApi.getViews(s).then(function (value) {
|
|
23526
|
+
_this4.optionViewList = value.map(function (item) {
|
|
23527
|
+
return {
|
|
23528
|
+
value: item.view_id,
|
|
23529
|
+
text: item.view_name
|
|
23530
|
+
};
|
|
23531
|
+
});
|
|
23532
|
+
});
|
|
23533
|
+
};
|
|
23534
|
+
this.viewNametimeout = setTimeout(go, 300);
|
|
23535
|
+
},
|
|
23536
|
+
'changeViewType': function changeViewType(_ref2) {
|
|
23537
|
+
var _this5 = this;
|
|
23538
|
+
return CCNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/CCNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
23539
|
+
var target, type;
|
|
23540
|
+
return CCNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
23541
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
23542
|
+
case 0:
|
|
23543
|
+
target = _ref2.target;
|
|
23544
|
+
type = target.value;
|
|
23545
|
+
_this5.nodeRef.data.eadCache.workflow.optionViewType = type;
|
|
23546
|
+
if (!(type === 'use_model')) {
|
|
23547
|
+
_context2.next = 10;
|
|
23548
|
+
break;
|
|
23549
|
+
}
|
|
23550
|
+
_this5.nodeRef.data.option_view_id = undefined;
|
|
23551
|
+
_this5.viewAttrLoading = true;
|
|
23552
|
+
_context2.next = 8;
|
|
23553
|
+
return _this5.eadApi.getViewAttrs(_this5.eadApi.getValues().option_view_id);
|
|
23554
|
+
case 8:
|
|
23555
|
+
_this5.nodeRef.data.option_forms = _context2.sent.filter(function (attr) {
|
|
23556
|
+
return attr.type === 'value' && attr.access !== 'none';
|
|
23557
|
+
}).filter(function (attr) {
|
|
23558
|
+
return attr.key_type !== 'primary';
|
|
23559
|
+
}).map(function (attr) {
|
|
23560
|
+
return {
|
|
23561
|
+
attrId: attr.id,
|
|
23562
|
+
attrName: attr.alias,
|
|
23563
|
+
attrCode: attr.name,
|
|
23564
|
+
access: 'none',
|
|
23565
|
+
required: attr.required
|
|
23566
|
+
};
|
|
23567
|
+
});
|
|
23568
|
+
_this5.$nextTick(function () {
|
|
23569
|
+
_this5.viewAttrLoading = false;
|
|
23570
|
+
});
|
|
23571
|
+
case 10:
|
|
23572
|
+
case "end":
|
|
23573
|
+
return _context2.stop();
|
|
23574
|
+
}
|
|
23575
|
+
}, _callee2);
|
|
23576
|
+
}))();
|
|
23577
|
+
},
|
|
23578
|
+
hideDrawer: function hideDrawer() {
|
|
23579
|
+
var _this6 = this;
|
|
23580
|
+
var vaildR = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(true);
|
|
23581
|
+
this.$refs.nameForm.validate(function (valid) {
|
|
23582
|
+
if (!valid) {
|
|
23583
|
+
vaildR.value = false;
|
|
23584
|
+
_this6.$message.error('节点名称校验不通过');
|
|
23585
|
+
}
|
|
23586
|
+
});
|
|
23587
|
+
|
|
23588
|
+
// hide 即保存
|
|
23589
|
+
if (vaildR.value) {
|
|
23590
|
+
this.visibleDrawer = false;
|
|
23591
|
+
}
|
|
23592
|
+
},
|
|
23593
|
+
changeTags: function changeTags(a) {},
|
|
23594
|
+
showEditName: function showEditName() {
|
|
23595
|
+
var _this7 = this;
|
|
23596
|
+
this.editName = true;
|
|
23597
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () {
|
|
23598
|
+
_this7.$refs.nameInput.focus();
|
|
23599
|
+
});
|
|
23600
|
+
},
|
|
23601
|
+
close: function close() {
|
|
23602
|
+
this.nodeHandler.deleteNode(this.node.code);
|
|
23603
|
+
},
|
|
23604
|
+
click: function click() {
|
|
23605
|
+
if (this.nodeHandler.isPreview) {
|
|
23606
|
+
return;
|
|
23607
|
+
}
|
|
23608
|
+
this.nodeRef.error = null;
|
|
23609
|
+
this.showDrawer();
|
|
23610
|
+
},
|
|
23611
|
+
more: function more() {
|
|
23612
|
+
this.showPopover();
|
|
23613
|
+
}
|
|
23614
|
+
},
|
|
23615
|
+
mounted: function mounted() {
|
|
23616
|
+
var _this8 = this;
|
|
23617
|
+
return CCNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/CCNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
23618
|
+
var _this8$nodeRef$data$o;
|
|
23619
|
+
var _yield$_this8$nodeHan, viewAttrs, orgMap, orgData, roles, users;
|
|
23620
|
+
return CCNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
23621
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
23622
|
+
case 0:
|
|
23623
|
+
_context3.next = 2;
|
|
23624
|
+
return _this8.nodeHandler.businessAdapter.getActorData();
|
|
23625
|
+
case 2:
|
|
23626
|
+
_yield$_this8$nodeHan = _context3.sent;
|
|
23627
|
+
viewAttrs = _yield$_this8$nodeHan.viewAttrs;
|
|
23628
|
+
orgMap = _yield$_this8$nodeHan.orgMap;
|
|
23629
|
+
orgData = _yield$_this8$nodeHan.orgData;
|
|
23630
|
+
roles = _yield$_this8$nodeHan.roles;
|
|
23631
|
+
users = _yield$_this8$nodeHan.users;
|
|
23632
|
+
if (!((_this8$nodeRef$data$o = _this8.nodeRef.data.option_forms) !== null && _this8$nodeRef$data$o !== void 0 && _this8$nodeRef$data$o.length)) {
|
|
23633
|
+
_this8.nodeRef.data.option_forms = viewAttrs.filter(function (attr) {
|
|
23634
|
+
return attr.type === 'value' && attr.access !== 'none';
|
|
23635
|
+
}).filter(function (attr) {
|
|
23636
|
+
return attr.key_type !== 'primary';
|
|
23637
|
+
}).map(function (attr) {
|
|
23638
|
+
return {
|
|
23639
|
+
attrId: attr.id,
|
|
23640
|
+
attrName: attr.alias,
|
|
23641
|
+
attrCode: attr.name,
|
|
23642
|
+
access: 'none',
|
|
23643
|
+
required: attr.required
|
|
23644
|
+
};
|
|
23645
|
+
});
|
|
23646
|
+
}
|
|
23647
|
+
_this8.viewAttrLoading = false;
|
|
23648
|
+
_this8.orgMap = orgMap;
|
|
23649
|
+
_this8.orgData = orgData;
|
|
23650
|
+
_this8.roles = roles;
|
|
23651
|
+
_this8.users = users;
|
|
23652
|
+
case 14:
|
|
23653
|
+
case "end":
|
|
23654
|
+
return _context3.stop();
|
|
23655
|
+
}
|
|
23656
|
+
}, _callee3);
|
|
23657
|
+
}))();
|
|
23658
|
+
}
|
|
23659
|
+
});
|
|
23660
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CCNode.vue?vue&type=script&lang=js
|
|
23661
|
+
/* harmony default export */ var node_CCNodevue_type_script_lang_js = (CCNodevue_type_script_lang_js);
|
|
23662
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/CCNode.vue?vue&type=style&index=0&id=0743a454&prod&lang=less&scoped=true
|
|
23663
|
+
var CCNodevue_type_style_index_0_id_0743a454_prod_lang_less_scoped_true = __webpack_require__("fdc3");
|
|
23664
|
+
|
|
23665
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CCNode.vue
|
|
23666
|
+
|
|
23667
|
+
|
|
23668
|
+
|
|
23669
|
+
|
|
23670
|
+
|
|
23671
|
+
|
|
23672
|
+
/* normalize component */
|
|
23673
|
+
|
|
23674
|
+
var CCNode_component = normalizeComponent(
|
|
23675
|
+
node_CCNodevue_type_script_lang_js,
|
|
23676
|
+
CCNodevue_type_template_id_0743a454_scoped_true_render,
|
|
23677
|
+
CCNodevue_type_template_id_0743a454_scoped_true_staticRenderFns,
|
|
23678
|
+
false,
|
|
23679
|
+
null,
|
|
23680
|
+
"0743a454",
|
|
23681
|
+
null
|
|
23682
|
+
|
|
23683
|
+
)
|
|
23684
|
+
|
|
23685
|
+
/* harmony default export */ var CCNode = (CCNode_component.exports);
|
|
23686
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=template&id=71cd8e14&scoped=true
|
|
23687
|
+
function TaskNodevue_type_template_id_71cd8e14_scoped_true_toConsumableArray(arr) { return TaskNodevue_type_template_id_71cd8e14_scoped_true_arrayWithoutHoles(arr) || TaskNodevue_type_template_id_71cd8e14_scoped_true_iterableToArray(arr) || TaskNodevue_type_template_id_71cd8e14_scoped_true_unsupportedIterableToArray(arr) || TaskNodevue_type_template_id_71cd8e14_scoped_true_nonIterableSpread(); }
|
|
23688
|
+
function TaskNodevue_type_template_id_71cd8e14_scoped_true_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
23689
|
+
function TaskNodevue_type_template_id_71cd8e14_scoped_true_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return TaskNodevue_type_template_id_71cd8e14_scoped_true_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return TaskNodevue_type_template_id_71cd8e14_scoped_true_arrayLikeToArray(o, minLen); }
|
|
23690
|
+
function TaskNodevue_type_template_id_71cd8e14_scoped_true_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
23691
|
+
function TaskNodevue_type_template_id_71cd8e14_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return TaskNodevue_type_template_id_71cd8e14_scoped_true_arrayLikeToArray(arr); }
|
|
23692
|
+
function TaskNodevue_type_template_id_71cd8e14_scoped_true_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
23693
|
+
var TaskNodevue_type_template_id_71cd8e14_scoped_true_render = function render() {
|
|
23694
|
+
var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$noticeTemplateAtt;
|
|
23695
|
+
var _vm = this,
|
|
23696
|
+
_c = _vm._self._c;
|
|
23697
|
+
return _c('div', [(_vm$nodeHandler = _vm.nodeHandler) !== null && _vm$nodeHandler !== void 0 && (_vm$nodeHandler = _vm$nodeHandler.runtimeData) !== null && _vm$nodeHandler !== void 0 && (_vm$nodeHandler = _vm$nodeHandler.actorLogs[_vm.node.code]) !== null && _vm$nodeHandler !== void 0 && _vm$nodeHandler.length ? _c('a-popover', {
|
|
23698
|
+
attrs: {
|
|
23699
|
+
"placement": "rightTop"
|
|
23700
|
+
},
|
|
23701
|
+
scopedSlots: _vm._u([{
|
|
23702
|
+
key: "content",
|
|
23703
|
+
fn: function fn() {
|
|
23704
|
+
return [_c('div', {
|
|
23705
|
+
staticStyle: {
|
|
23706
|
+
"min-width": "300px",
|
|
23707
|
+
"max-width": "1200px"
|
|
23708
|
+
}
|
|
23709
|
+
}, [_c('runtime-workflow-actors', {
|
|
23710
|
+
attrs: {
|
|
23711
|
+
"actors": _vm.nodeHandler.runtimeData.actorLogs[_vm.node.code]
|
|
23712
|
+
}
|
|
23713
|
+
})], 1)];
|
|
23714
|
+
},
|
|
23715
|
+
proxy: true
|
|
23716
|
+
}], null, false, 193291077)
|
|
23717
|
+
}, [_c('div', {
|
|
23718
|
+
staticClass: "node",
|
|
23719
|
+
class: [_vm.node.error ? 'error' : '', (_vm$nodeHandler2 = _vm.nodeHandler) !== null && _vm$nodeHandler2 !== void 0 && (_vm$nodeHandler2 = _vm$nodeHandler2.runtimeData) !== null && _vm$nodeHandler2 !== void 0 && (_vm$nodeHandler2 = _vm$nodeHandler2.caseNodes[_vm.node.code]) !== null && _vm$nodeHandler2 !== void 0 && _vm$nodeHandler2.status ? _vm.nodeHandler.runtimeData.caseNodes[_vm.node.code].status : ''],
|
|
23720
|
+
on: {
|
|
23721
|
+
"click": _vm.click
|
|
23722
|
+
}
|
|
23723
|
+
}, [_c('div', {
|
|
23724
|
+
staticClass: "title"
|
|
23725
|
+
}, [_c('span', [_c('a-icon', {
|
|
23726
|
+
attrs: {
|
|
23727
|
+
"component": _vm.icon
|
|
23728
|
+
}
|
|
23729
|
+
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), (_vm$nodeRef = _vm.nodeRef) !== null && _vm$nodeRef !== void 0 && (_vm$nodeRef = _vm$nodeRef.data) !== null && _vm$nodeRef !== void 0 && (_vm$nodeRef = _vm$nodeRef.other_options) !== null && _vm$nodeRef !== void 0 && (_vm$nodeRef = _vm$nodeRef.assert) !== null && _vm$nodeRef !== void 0 && _vm$nodeRef.length ? _c('span', [_c('a-icon', {
|
|
23730
|
+
attrs: {
|
|
23731
|
+
"type": "control"
|
|
23732
|
+
}
|
|
23733
|
+
})], 1) : _vm._e(), !_vm.nodeHandler.isPreview ? _c('span', {
|
|
23734
|
+
staticClass: "title-right"
|
|
23735
|
+
}, [_c('a-icon', {
|
|
23736
|
+
staticClass: "close",
|
|
23737
|
+
attrs: {
|
|
23738
|
+
"type": "close"
|
|
23739
|
+
},
|
|
23740
|
+
on: {
|
|
23741
|
+
"click": function click($event) {
|
|
23742
|
+
$event.stopPropagation();
|
|
23743
|
+
return _vm.close.apply(null, arguments);
|
|
23744
|
+
}
|
|
23745
|
+
}
|
|
23746
|
+
})], 1) : _vm._e()]), _c('div', {
|
|
23747
|
+
staticClass: "content"
|
|
23748
|
+
}, [_c('span', {
|
|
23749
|
+
staticClass: "content-main"
|
|
23750
|
+
}, [_c('span', {
|
|
23751
|
+
staticClass: "error-tooltip"
|
|
23752
|
+
}, [_c('a-tooltip', [_c('template', {
|
|
23753
|
+
slot: "title"
|
|
23754
|
+
}, [_vm._v(" " + _vm._s(_vm.node.error) + " ")]), _c('a-icon', {
|
|
23755
|
+
attrs: {
|
|
23756
|
+
"theme": "filled",
|
|
23757
|
+
"type": "warning"
|
|
23758
|
+
}
|
|
23759
|
+
})], 2)], 1), _vm.nodeContent ? _c('span', {
|
|
23760
|
+
staticStyle: {
|
|
23761
|
+
"padding-left": "5px"
|
|
23762
|
+
}
|
|
23763
|
+
}, [_c('span', {
|
|
23764
|
+
domProps: {
|
|
23765
|
+
"innerHTML": _vm._s(_vm.nodeContent)
|
|
23766
|
+
}
|
|
23767
|
+
})]) : _c('span', {
|
|
23768
|
+
staticStyle: {
|
|
23769
|
+
"padding-left": "5px",
|
|
23770
|
+
"color": "rgb(164 164 164)"
|
|
23771
|
+
}
|
|
23772
|
+
}, [_vm._v(_vm._s(_vm.defaultContent))])]), _c('span', {
|
|
23773
|
+
staticClass: "content-right"
|
|
23774
|
+
}, [!_vm.nodeHandler.isPreview ? _c('a-popover', {
|
|
23775
|
+
attrs: {
|
|
23776
|
+
"placement": "rightTop",
|
|
23777
|
+
"trigger": "click"
|
|
23778
|
+
},
|
|
23779
|
+
scopedSlots: _vm._u([{
|
|
23780
|
+
key: "title",
|
|
23781
|
+
fn: function fn() {
|
|
23782
|
+
return [_c('span', {
|
|
23783
|
+
staticStyle: {
|
|
23784
|
+
"font-size": "18px"
|
|
23785
|
+
}
|
|
23786
|
+
}, [_vm._v("追加分支")])];
|
|
23787
|
+
},
|
|
23788
|
+
proxy: true
|
|
23789
|
+
}, {
|
|
23790
|
+
key: "content",
|
|
23791
|
+
fn: function fn() {
|
|
23792
|
+
return [_c('div', {
|
|
23793
|
+
staticClass: "add-node-box"
|
|
23794
|
+
}, _vm._l(_vm.nodes, function (node, index) {
|
|
23795
|
+
var _node$icon, _node$icon2;
|
|
23796
|
+
return _c('div', {
|
|
23797
|
+
key: index,
|
|
23798
|
+
staticClass: "add-node-item",
|
|
23799
|
+
on: {
|
|
23800
|
+
"click": function click($event) {
|
|
23801
|
+
return _vm.wrapNode(node.type);
|
|
23802
|
+
}
|
|
23803
|
+
}
|
|
23804
|
+
}, [_c('div', {
|
|
23805
|
+
staticClass: "icon",
|
|
23806
|
+
style: 'color:' + node.color + ';'
|
|
23807
|
+
}, [(_node$icon = node.icon) !== null && _node$icon !== void 0 && _node$icon.component ? _c('a-icon', {
|
|
23808
|
+
attrs: {
|
|
23809
|
+
"component": node.icon.component
|
|
23810
|
+
}
|
|
23811
|
+
}) : _vm._e(), (_node$icon2 = node.icon) !== null && _node$icon2 !== void 0 && _node$icon2.type ? _c('a-icon', {
|
|
23812
|
+
attrs: {
|
|
23813
|
+
"type": node.icon.type
|
|
23814
|
+
}
|
|
23815
|
+
}) : _vm._e()], 1), _c('span', [_vm._v(_vm._s(node.name))])]);
|
|
23816
|
+
}), 0)];
|
|
23817
|
+
},
|
|
23818
|
+
proxy: true
|
|
23819
|
+
}], null, false, 2863198520),
|
|
23820
|
+
model: {
|
|
23821
|
+
value: _vm.visiblePopover,
|
|
23822
|
+
callback: function callback($$v) {
|
|
23823
|
+
_vm.visiblePopover = $$v;
|
|
23824
|
+
},
|
|
23825
|
+
expression: "visiblePopover"
|
|
23826
|
+
}
|
|
23827
|
+
}, [_c('a-icon', {
|
|
23828
|
+
attrs: {
|
|
23829
|
+
"type": "plus"
|
|
23830
|
+
},
|
|
23831
|
+
on: {
|
|
23832
|
+
"click": function click($event) {
|
|
23833
|
+
$event.stopPropagation();
|
|
23834
|
+
return function () {}.apply(null, arguments);
|
|
23835
|
+
}
|
|
23836
|
+
}
|
|
23837
|
+
})], 1) : _vm._e()], 1)])])]) : _c('div', {
|
|
23838
|
+
staticClass: "node",
|
|
23839
|
+
class: _vm.getClass(),
|
|
23840
|
+
on: {
|
|
23841
|
+
"click": _vm.click
|
|
23842
|
+
}
|
|
23843
|
+
}, [_c('div', {
|
|
23844
|
+
staticClass: "title"
|
|
23845
|
+
}, [_c('span', [_c('a-icon', {
|
|
23846
|
+
attrs: {
|
|
23847
|
+
"component": _vm.icon
|
|
23848
|
+
}
|
|
23849
|
+
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), (_vm$nodeRef2 = _vm.nodeRef) !== null && _vm$nodeRef2 !== void 0 && (_vm$nodeRef2 = _vm$nodeRef2.data) !== null && _vm$nodeRef2 !== void 0 && (_vm$nodeRef2 = _vm$nodeRef2.other_options) !== null && _vm$nodeRef2 !== void 0 && (_vm$nodeRef2 = _vm$nodeRef2.assert) !== null && _vm$nodeRef2 !== void 0 && _vm$nodeRef2.length ? _c('span', [_c('a-icon', {
|
|
23850
|
+
attrs: {
|
|
23851
|
+
"type": "control"
|
|
23852
|
+
}
|
|
23853
|
+
})], 1) : _vm._e(), !_vm.nodeHandler.isPreview ? _c('span', {
|
|
23854
|
+
staticClass: "title-right"
|
|
23855
|
+
}, [_c('a-icon', {
|
|
23856
|
+
staticClass: "close",
|
|
23857
|
+
attrs: {
|
|
23858
|
+
"type": "close"
|
|
23859
|
+
},
|
|
23860
|
+
on: {
|
|
23861
|
+
"click": function click($event) {
|
|
23862
|
+
$event.stopPropagation();
|
|
23863
|
+
return _vm.close.apply(null, arguments);
|
|
23864
|
+
}
|
|
23865
|
+
}
|
|
23866
|
+
})], 1) : _vm._e()]), _c('div', {
|
|
23867
|
+
staticClass: "content"
|
|
23868
|
+
}, [_c('span', {
|
|
23869
|
+
staticClass: "content-main"
|
|
23870
|
+
}, [_c('span', {
|
|
23871
|
+
staticClass: "error-tooltip"
|
|
23872
|
+
}, [_c('a-tooltip', [_c('template', {
|
|
23873
|
+
slot: "title"
|
|
23874
|
+
}, [_vm._v(" " + _vm._s(_vm.node.error) + " ")]), _c('a-icon', {
|
|
23875
|
+
attrs: {
|
|
23876
|
+
"theme": "filled",
|
|
23877
|
+
"type": "warning"
|
|
23878
|
+
}
|
|
23879
|
+
})], 2)], 1), _vm.nodeContent ? _c('span', {
|
|
23880
|
+
staticStyle: {
|
|
23881
|
+
"padding-left": "5px"
|
|
23882
|
+
}
|
|
23883
|
+
}, [_c('span', {
|
|
23884
|
+
domProps: {
|
|
23885
|
+
"innerHTML": _vm._s(_vm.nodeContent)
|
|
23886
|
+
}
|
|
23887
|
+
})]) : _c('span', {
|
|
23888
|
+
staticStyle: {
|
|
23889
|
+
"padding-left": "5px",
|
|
23890
|
+
"color": "rgb(164 164 164)"
|
|
23891
|
+
}
|
|
23892
|
+
}, [_vm._v(_vm._s(_vm.defaultContent))])]), _c('span', {
|
|
23893
|
+
staticClass: "content-right"
|
|
23894
|
+
}, [!_vm.nodeHandler.isPreview ? _c('a-popover', {
|
|
23895
|
+
attrs: {
|
|
23896
|
+
"placement": "rightTop",
|
|
23897
|
+
"trigger": "click"
|
|
23898
|
+
},
|
|
23899
|
+
scopedSlots: _vm._u([{
|
|
23900
|
+
key: "title",
|
|
23901
|
+
fn: function fn() {
|
|
23902
|
+
return [_c('span', {
|
|
23903
|
+
staticStyle: {
|
|
23904
|
+
"font-size": "18px"
|
|
23905
|
+
}
|
|
23906
|
+
}, [_vm._v("追加分支")])];
|
|
23907
|
+
},
|
|
23908
|
+
proxy: true
|
|
23909
|
+
}, {
|
|
23910
|
+
key: "content",
|
|
23911
|
+
fn: function fn() {
|
|
23912
|
+
return [_c('div', {
|
|
23913
|
+
staticClass: "add-node-box"
|
|
23914
|
+
}, _vm._l(_vm.nodes, function (node, index) {
|
|
23915
|
+
var _node$icon3, _node$icon4;
|
|
23916
|
+
return _c('div', {
|
|
23917
|
+
key: index,
|
|
23918
|
+
staticClass: "add-node-item",
|
|
23919
|
+
on: {
|
|
23920
|
+
"click": function click($event) {
|
|
23921
|
+
return _vm.wrapNode(node.type);
|
|
23922
|
+
}
|
|
23923
|
+
}
|
|
23924
|
+
}, [_c('div', {
|
|
23925
|
+
staticClass: "icon",
|
|
23926
|
+
style: 'color:' + node.color + ';'
|
|
23927
|
+
}, [(_node$icon3 = node.icon) !== null && _node$icon3 !== void 0 && _node$icon3.component ? _c('a-icon', {
|
|
23928
|
+
attrs: {
|
|
23929
|
+
"component": node.icon.component
|
|
23930
|
+
}
|
|
23931
|
+
}) : _vm._e(), (_node$icon4 = node.icon) !== null && _node$icon4 !== void 0 && _node$icon4.type ? _c('a-icon', {
|
|
23932
|
+
attrs: {
|
|
23933
|
+
"type": node.icon.type
|
|
23934
|
+
}
|
|
23935
|
+
}) : _vm._e()], 1), _c('span', [_vm._v(_vm._s(node.name))])]);
|
|
23936
|
+
}), 0)];
|
|
23937
|
+
},
|
|
23938
|
+
proxy: true
|
|
23939
|
+
}], null, false, 2863198520),
|
|
23940
|
+
model: {
|
|
23941
|
+
value: _vm.visiblePopover,
|
|
23942
|
+
callback: function callback($$v) {
|
|
23943
|
+
_vm.visiblePopover = $$v;
|
|
23944
|
+
},
|
|
23945
|
+
expression: "visiblePopover"
|
|
23946
|
+
}
|
|
23947
|
+
}, [_c('a-icon', {
|
|
23948
|
+
attrs: {
|
|
23949
|
+
"type": "plus"
|
|
23950
|
+
},
|
|
23951
|
+
on: {
|
|
23952
|
+
"click": function click($event) {
|
|
23953
|
+
$event.stopPropagation();
|
|
23954
|
+
return function () {}.apply(null, arguments);
|
|
23955
|
+
}
|
|
23956
|
+
}
|
|
23957
|
+
})], 1) : _vm._e()], 1)])]), !_vm.nodeHandler.isPreview ? _c('a-drawer', {
|
|
23958
|
+
attrs: {
|
|
23959
|
+
"closable": true,
|
|
23960
|
+
"visible": _vm.visibleDrawer,
|
|
23961
|
+
"width": 720,
|
|
23962
|
+
"placement": "right"
|
|
23963
|
+
},
|
|
23964
|
+
on: {
|
|
23965
|
+
"close": _vm.hideDrawer
|
|
23966
|
+
}
|
|
23967
|
+
}, [!_vm.editName ? _c('div', {
|
|
23968
|
+
staticClass: "node-drawer-title",
|
|
23969
|
+
on: {
|
|
23970
|
+
"click": _vm.showEditName
|
|
23971
|
+
}
|
|
23972
|
+
}, [_c('a-icon', {
|
|
23973
|
+
attrs: {
|
|
23974
|
+
"type": "edit"
|
|
23975
|
+
}
|
|
23976
|
+
}), _vm._v(" " + _vm._s(_vm.node.name) + " ")], 1) : _vm._e(), _c('a-form-model', {
|
|
23977
|
+
directives: [{
|
|
23978
|
+
name: "show",
|
|
23979
|
+
rawName: "v-show",
|
|
23980
|
+
value: _vm.editName,
|
|
23981
|
+
expression: "editName"
|
|
23982
|
+
}],
|
|
23983
|
+
ref: "nameForm",
|
|
23984
|
+
attrs: {
|
|
23985
|
+
"model": _vm.nodeRef,
|
|
23986
|
+
"rules": {
|
|
23987
|
+
name: [{
|
|
23988
|
+
required: true,
|
|
23989
|
+
message: '请填写节点名称',
|
|
23990
|
+
trigger: 'blur'
|
|
23991
|
+
}, {
|
|
23992
|
+
min: 2,
|
|
23993
|
+
max: 20,
|
|
23994
|
+
message: '2-20个字',
|
|
23995
|
+
trigger: 'blur'
|
|
23996
|
+
}]
|
|
23997
|
+
},
|
|
23998
|
+
"layout": "inline"
|
|
23999
|
+
}
|
|
24000
|
+
}, [_c('a-form-model-item', {
|
|
24001
|
+
ref: "name",
|
|
24002
|
+
attrs: {
|
|
24003
|
+
"prop": "name"
|
|
24004
|
+
}
|
|
24005
|
+
}, [_c('a-input', {
|
|
24006
|
+
ref: "nameInput",
|
|
24007
|
+
attrs: {
|
|
24008
|
+
"placeholder": "节点名称"
|
|
24009
|
+
},
|
|
24010
|
+
on: {
|
|
24011
|
+
"blur": function blur() {
|
|
24012
|
+
_vm.editName = false;
|
|
24013
|
+
}
|
|
24014
|
+
},
|
|
24015
|
+
model: {
|
|
24016
|
+
value: _vm.nodeRef.name,
|
|
24017
|
+
callback: function callback($$v) {
|
|
24018
|
+
_vm.$set(_vm.nodeRef, "name", $$v);
|
|
24019
|
+
},
|
|
24020
|
+
expression: "nodeRef.name"
|
|
24021
|
+
}
|
|
24022
|
+
})], 1)], 1), _c('a-tabs', {
|
|
24023
|
+
attrs: {
|
|
24024
|
+
"default-active-key": "1"
|
|
24025
|
+
},
|
|
24026
|
+
on: {
|
|
24027
|
+
"change": _vm.changeTags
|
|
24028
|
+
},
|
|
24029
|
+
model: {
|
|
24030
|
+
value: _vm.tabKey,
|
|
24031
|
+
callback: function callback($$v) {
|
|
24032
|
+
_vm.tabKey = $$v;
|
|
24033
|
+
},
|
|
24034
|
+
expression: "tabKey"
|
|
24035
|
+
}
|
|
24036
|
+
}, [_c('a-tab-pane', {
|
|
24037
|
+
key: "actors",
|
|
24038
|
+
attrs: {
|
|
24039
|
+
"tab": "设置人"
|
|
24040
|
+
}
|
|
24041
|
+
}, [_c('div', {
|
|
24042
|
+
staticClass: "node-form-item"
|
|
24043
|
+
}, [_vm._v(" 配置执行人策略 "), _c('a-radio-group', {
|
|
24044
|
+
attrs: {
|
|
24045
|
+
"button-style": "solid"
|
|
24046
|
+
},
|
|
24047
|
+
model: {
|
|
24048
|
+
value: _vm.nodeRef.data.actor_config.type,
|
|
24049
|
+
callback: function callback($$v) {
|
|
24050
|
+
_vm.$set(_vm.nodeRef.data.actor_config, "type", $$v);
|
|
24051
|
+
},
|
|
24052
|
+
expression: "nodeRef.data.actor_config.type"
|
|
24053
|
+
}
|
|
24054
|
+
}, [_c('a-radio-button', {
|
|
24055
|
+
attrs: {
|
|
24056
|
+
"value": "expression"
|
|
24057
|
+
}
|
|
24058
|
+
}, [_vm._v(" 表达式 ")]), _c('a-radio-button', {
|
|
24059
|
+
attrs: {
|
|
24060
|
+
"value": "sponsor"
|
|
24061
|
+
}
|
|
24062
|
+
}, [_vm._v(" 发起人自己 ")])], 1)], 1), _vm.nodeRef.data.actor_config.type === 'expression' ? _c('div', {
|
|
24063
|
+
staticStyle: {
|
|
24064
|
+
"width": "100%"
|
|
24065
|
+
}
|
|
24066
|
+
}, [_vm._l(_vm.nodeRef.data.actor_config.expression, function (item, index) {
|
|
24067
|
+
return _c('div', {
|
|
24068
|
+
key: index
|
|
24069
|
+
}, [_c('a-row', {
|
|
24070
|
+
staticClass: "node-form-item",
|
|
24071
|
+
staticStyle: {
|
|
24072
|
+
"display": "flex",
|
|
24073
|
+
"align-items": "center"
|
|
24074
|
+
}
|
|
24075
|
+
}, [_c('a-col', {
|
|
24076
|
+
attrs: {
|
|
24077
|
+
"span": "4"
|
|
24078
|
+
}
|
|
24079
|
+
}, [_c('a-radio-group', {
|
|
24080
|
+
attrs: {
|
|
24081
|
+
"button-style": "solid",
|
|
24082
|
+
"size": "small"
|
|
24083
|
+
},
|
|
24084
|
+
model: {
|
|
24085
|
+
value: item.type,
|
|
24086
|
+
callback: function callback($$v) {
|
|
24087
|
+
_vm.$set(item, "type", $$v);
|
|
24088
|
+
},
|
|
24089
|
+
expression: "item.type"
|
|
24090
|
+
}
|
|
24091
|
+
}, [_c('a-radio-button', {
|
|
24092
|
+
attrs: {
|
|
24093
|
+
"value": "uid"
|
|
24094
|
+
}
|
|
24095
|
+
}, [_c('a-icon', {
|
|
24096
|
+
attrs: {
|
|
24097
|
+
"type": "user"
|
|
24098
|
+
}
|
|
24099
|
+
})], 1), _c('a-radio-button', {
|
|
24100
|
+
attrs: {
|
|
24101
|
+
"value": "org"
|
|
24102
|
+
}
|
|
24103
|
+
}, [_c('a-icon', {
|
|
24104
|
+
attrs: {
|
|
24105
|
+
"type": "team"
|
|
24106
|
+
}
|
|
24107
|
+
})], 1)], 1), _vm.nodeRef.data.actor_config.expression.length > 1 ? _c('a-button', {
|
|
24108
|
+
attrs: {
|
|
24109
|
+
"icon": "delete",
|
|
24110
|
+
"type": "link"
|
|
24111
|
+
},
|
|
24112
|
+
on: {
|
|
24113
|
+
"click": function click() {
|
|
24114
|
+
return _vm.nodeRef.data.actor_config.expression.splice(index, 1);
|
|
24115
|
+
}
|
|
24116
|
+
}
|
|
24117
|
+
}) : _vm._e()], 1), item.type === 'uid' ? _c('a-col', {
|
|
24118
|
+
attrs: {
|
|
24119
|
+
"span": "18"
|
|
24120
|
+
}
|
|
24121
|
+
}, [_c('div', [_c('a-select', {
|
|
24122
|
+
staticStyle: {
|
|
24123
|
+
"width": "100%"
|
|
24124
|
+
},
|
|
24125
|
+
attrs: {
|
|
24126
|
+
"filterOption": _vm.filterUser,
|
|
24127
|
+
"options": [].concat(TaskNodevue_type_template_id_71cd8e14_scoped_true_toConsumableArray(_vm.businessUserData), TaskNodevue_type_template_id_71cd8e14_scoped_true_toConsumableArray(_vm.users)),
|
|
24128
|
+
"mode": "multiple",
|
|
24129
|
+
"placeholder": "选择人"
|
|
24130
|
+
},
|
|
24131
|
+
model: {
|
|
24132
|
+
value: item.user,
|
|
24133
|
+
callback: function callback($$v) {
|
|
24134
|
+
_vm.$set(item, "user", $$v);
|
|
24135
|
+
},
|
|
24136
|
+
expression: "item.user"
|
|
24137
|
+
}
|
|
24138
|
+
})], 1)]) : _vm._e(), item.type === 'org' ? _c('a-col', {
|
|
24139
|
+
attrs: {
|
|
24140
|
+
"span": "18"
|
|
24141
|
+
}
|
|
24142
|
+
}, [_c('div', [_c('a-row', [_c('a-col', {
|
|
24143
|
+
attrs: {
|
|
24144
|
+
"span": 8
|
|
24145
|
+
}
|
|
24146
|
+
}, [_c('a-tree-select', {
|
|
24147
|
+
staticStyle: {
|
|
24148
|
+
"width": "100%"
|
|
24149
|
+
},
|
|
24150
|
+
attrs: {
|
|
24151
|
+
"dropdown-style": {
|
|
24152
|
+
maxHeight: '400px',
|
|
24153
|
+
overflow: 'auto'
|
|
24154
|
+
},
|
|
24155
|
+
"tree-data": [_vm.businessOrgData].concat(TaskNodevue_type_template_id_71cd8e14_scoped_true_toConsumableArray(_vm.orgData)),
|
|
24156
|
+
"allowClear": "",
|
|
24157
|
+
"placeholder": "部门",
|
|
24158
|
+
"tree-default-expand-all": ""
|
|
24159
|
+
},
|
|
24160
|
+
model: {
|
|
24161
|
+
value: item.orgId,
|
|
24162
|
+
callback: function callback($$v) {
|
|
24163
|
+
_vm.$set(item, "orgId", $$v);
|
|
24164
|
+
},
|
|
24165
|
+
expression: "item.orgId"
|
|
24166
|
+
}
|
|
24167
|
+
})], 1), _c('a-col', {
|
|
24168
|
+
attrs: {
|
|
24169
|
+
"span": 8
|
|
24170
|
+
}
|
|
24171
|
+
}, [_c('a-select', {
|
|
24172
|
+
staticStyle: {
|
|
24173
|
+
"width": "100%"
|
|
24174
|
+
},
|
|
24175
|
+
attrs: {
|
|
24176
|
+
"options": _vm.roles,
|
|
24177
|
+
"allowClear": "",
|
|
24178
|
+
"placeholder": "角色"
|
|
24179
|
+
},
|
|
24180
|
+
model: {
|
|
24181
|
+
value: item.roleId,
|
|
24182
|
+
callback: function callback($$v) {
|
|
24183
|
+
_vm.$set(item, "roleId", $$v);
|
|
24184
|
+
},
|
|
24185
|
+
expression: "item.roleId"
|
|
24186
|
+
}
|
|
24187
|
+
})], 1)], 1)], 1)]) : _vm._e(), _vm.nodeRef.data.actor_config.expression.length === index + 1 && _vm.hasExpression(item) ? _c('a-col', {
|
|
24188
|
+
attrs: {
|
|
24189
|
+
"span": "2"
|
|
24190
|
+
}
|
|
24191
|
+
}, [_c('a-button', {
|
|
24192
|
+
attrs: {
|
|
24193
|
+
"icon": "plus",
|
|
24194
|
+
"shape": "circle",
|
|
24195
|
+
"type": "primary"
|
|
24196
|
+
},
|
|
24197
|
+
on: {
|
|
24198
|
+
"click": function click() {
|
|
24199
|
+
_vm.nodeRef.data.actor_config.expression.push({
|
|
24200
|
+
type: 'uid',
|
|
24201
|
+
user: [],
|
|
24202
|
+
orgId: undefined,
|
|
24203
|
+
roleId: undefined,
|
|
24204
|
+
groupId: undefined
|
|
24205
|
+
});
|
|
24206
|
+
}
|
|
24207
|
+
}
|
|
24208
|
+
})], 1) : _vm._e()], 1)], 1);
|
|
24209
|
+
}), _c('div', {
|
|
24210
|
+
staticClass: "node-form-item"
|
|
24211
|
+
}, [_c('a-row', [_c('a-col', {
|
|
24212
|
+
attrs: {
|
|
24213
|
+
"span": 4
|
|
24214
|
+
}
|
|
24215
|
+
}, [_vm._v("自选")]), _c('a-col', {
|
|
24216
|
+
attrs: {
|
|
24217
|
+
"span": 20
|
|
24218
|
+
}
|
|
24219
|
+
}, [_c('a-radio-group', {
|
|
24220
|
+
staticStyle: {
|
|
24221
|
+
"margin-right": "10px"
|
|
24222
|
+
},
|
|
24223
|
+
attrs: {
|
|
24224
|
+
"button-style": "solid"
|
|
24225
|
+
},
|
|
24226
|
+
model: {
|
|
24227
|
+
value: _vm.nodeRef.data.actor_config.optional.enable,
|
|
24228
|
+
callback: function callback($$v) {
|
|
24229
|
+
_vm.$set(_vm.nodeRef.data.actor_config.optional, "enable", $$v);
|
|
24230
|
+
},
|
|
24231
|
+
expression: "nodeRef.data.actor_config.optional.enable"
|
|
24232
|
+
}
|
|
24233
|
+
}, [_c('a-radio-button', {
|
|
24234
|
+
attrs: {
|
|
24235
|
+
"value": false
|
|
24236
|
+
}
|
|
24237
|
+
}, [_vm._v(" 禁用 ")]), _c('a-radio-button', {
|
|
24238
|
+
attrs: {
|
|
24239
|
+
"value": true
|
|
24240
|
+
}
|
|
24241
|
+
}, [_vm._v(" 启用 ")])], 1), _vm.nodeRef.data.actor_config.optional.enable ? _c('a-radio-group', {
|
|
24242
|
+
attrs: {
|
|
24243
|
+
"button-style": "solid"
|
|
24244
|
+
},
|
|
24245
|
+
model: {
|
|
24246
|
+
value: _vm.nodeRef.data.actor_config.optional.multi,
|
|
24247
|
+
callback: function callback($$v) {
|
|
24248
|
+
_vm.$set(_vm.nodeRef.data.actor_config.optional, "multi", $$v);
|
|
24249
|
+
},
|
|
24250
|
+
expression: "nodeRef.data.actor_config.optional.multi"
|
|
24251
|
+
}
|
|
24252
|
+
}, [_c('a-radio-button', {
|
|
24253
|
+
attrs: {
|
|
24254
|
+
"value": false
|
|
24255
|
+
}
|
|
24256
|
+
}, [_vm._v(" 可选单人 ")]), _c('a-radio-button', {
|
|
24257
|
+
attrs: {
|
|
24258
|
+
"value": true
|
|
24259
|
+
}
|
|
24260
|
+
}, [_vm._v(" 可选多人 ")])], 1) : _vm._e()], 1)], 1)], 1), !_vm.nodeRef.data.actor_config.optional.enable && !_vm.isSingle || _vm.nodeRef.data.actor_config.optional.enable && _vm.nodeRef.data.actor_config.optional.multi ? _c('div', {
|
|
24261
|
+
staticClass: "node-form-item"
|
|
24262
|
+
}, [_c('a-row', [_c('a-col', {
|
|
24263
|
+
attrs: {
|
|
24264
|
+
"span": 4
|
|
24265
|
+
}
|
|
24266
|
+
}, [_vm._v("多人执行模式")]), _c('a-col', {
|
|
24267
|
+
attrs: {
|
|
24268
|
+
"span": 20
|
|
24269
|
+
}
|
|
24270
|
+
}, [_c('a-radio-group', {
|
|
24271
|
+
attrs: {
|
|
24272
|
+
"button-style": "solid"
|
|
24273
|
+
},
|
|
24274
|
+
model: {
|
|
24275
|
+
value: _vm.nodeRef.data.actor_config.check_mode,
|
|
24276
|
+
callback: function callback($$v) {
|
|
24277
|
+
_vm.$set(_vm.nodeRef.data.actor_config, "check_mode", $$v);
|
|
24278
|
+
},
|
|
24279
|
+
expression: "nodeRef.data.actor_config.check_mode"
|
|
24280
|
+
}
|
|
24281
|
+
}, [_c('a-radio-button', {
|
|
24282
|
+
attrs: {
|
|
24283
|
+
"value": "queue"
|
|
24284
|
+
}
|
|
24285
|
+
}, [_vm._v("依次执行")]), _c('a-radio-button', {
|
|
24286
|
+
attrs: {
|
|
24287
|
+
"value": "orsign"
|
|
24288
|
+
}
|
|
24289
|
+
}, [_vm._v("或操")]), _c('a-radio-button', {
|
|
24290
|
+
attrs: {
|
|
24291
|
+
"value": "sign"
|
|
24292
|
+
}
|
|
24293
|
+
}, [_vm._v("会操")])], 1)], 1)], 1)], 1) : _vm._e()], 2) : _vm._e(), _c('a-row', {
|
|
24294
|
+
staticStyle: {
|
|
24295
|
+
"display": "flex",
|
|
24296
|
+
"align-items": "center",
|
|
24297
|
+
"margin-bottom": "5px"
|
|
24298
|
+
}
|
|
24299
|
+
}, [_c('a-col', {
|
|
24300
|
+
attrs: {
|
|
24301
|
+
"span": 4
|
|
24302
|
+
}
|
|
24303
|
+
}, [_vm._v("执行人为空时")]), _c('a-col', {
|
|
24304
|
+
attrs: {
|
|
24305
|
+
"span": 20
|
|
24306
|
+
}
|
|
24307
|
+
}, [_c('a-radio-group', {
|
|
24308
|
+
staticStyle: {
|
|
24309
|
+
"margin-right": "10px"
|
|
24310
|
+
},
|
|
24311
|
+
attrs: {
|
|
24312
|
+
"button-style": "solid"
|
|
24313
|
+
},
|
|
24314
|
+
model: {
|
|
24315
|
+
value: _vm.nodeRef.data.other_options.approverIsNull,
|
|
24316
|
+
callback: function callback($$v) {
|
|
24317
|
+
_vm.$set(_vm.nodeRef.data.other_options, "approverIsNull", $$v);
|
|
24318
|
+
},
|
|
24319
|
+
expression: "nodeRef.data.other_options.approverIsNull"
|
|
24320
|
+
}
|
|
24321
|
+
}, [_c('a-radio-button', {
|
|
24322
|
+
attrs: {
|
|
24323
|
+
"disabled": "",
|
|
24324
|
+
"value": "next"
|
|
24325
|
+
}
|
|
24326
|
+
}, [_vm._v(" 跳过 ")]), _c('a-radio-button', {
|
|
24327
|
+
attrs: {
|
|
24328
|
+
"value": "error"
|
|
24329
|
+
}
|
|
24330
|
+
}, [_vm._v(" 提示错误 ")])], 1)], 1)], 1)], 1), _c('a-tab-pane', {
|
|
24331
|
+
key: "forms",
|
|
24332
|
+
attrs: {
|
|
24333
|
+
"tab": "操作视图"
|
|
24334
|
+
}
|
|
24335
|
+
}, [_c('div', {
|
|
24336
|
+
staticClass: "node-form-item"
|
|
24337
|
+
}, [_c('a-row', {
|
|
24338
|
+
staticStyle: {
|
|
24339
|
+
"display": "flex",
|
|
24340
|
+
"align-items": "center",
|
|
24341
|
+
"margin-bottom": "5px"
|
|
24342
|
+
}
|
|
24343
|
+
}, [_c('a-col', {
|
|
24344
|
+
attrs: {
|
|
24345
|
+
"span": 24
|
|
24346
|
+
}
|
|
24347
|
+
}, [_c('a-radio-group', {
|
|
24348
|
+
staticClass: "node-form-item",
|
|
24349
|
+
on: {
|
|
24350
|
+
"change": _vm.changeViewType
|
|
24351
|
+
},
|
|
24352
|
+
model: {
|
|
24353
|
+
value: _vm.optionViewType,
|
|
24354
|
+
callback: function callback($$v) {
|
|
24355
|
+
_vm.optionViewType = $$v;
|
|
24356
|
+
},
|
|
24357
|
+
expression: "optionViewType"
|
|
24358
|
+
}
|
|
24359
|
+
}, [_c('a-radio', {
|
|
24360
|
+
attrs: {
|
|
24361
|
+
"value": "use_model"
|
|
24362
|
+
}
|
|
24363
|
+
}, [_vm._v(" 沿用工作流模型 ")]), _c('a-radio', {
|
|
24364
|
+
attrs: {
|
|
24365
|
+
"value": "custom"
|
|
24366
|
+
}
|
|
24367
|
+
}, [_vm._v(" 自主选择 ")])], 1)], 1)], 1), _c('a-row', [_c('a-col', {
|
|
24368
|
+
attrs: {
|
|
24369
|
+
"span": 24
|
|
24370
|
+
}
|
|
24371
|
+
}, [_vm.optionViewType === 'custom' ? _c('a-select', {
|
|
24372
|
+
staticClass: "node-form-item",
|
|
24373
|
+
staticStyle: {
|
|
24374
|
+
"width": "100%"
|
|
24375
|
+
},
|
|
24376
|
+
attrs: {
|
|
24377
|
+
"default-active-first-option": false,
|
|
24378
|
+
"filter-option": false,
|
|
24379
|
+
"not-found-content": null,
|
|
24380
|
+
"show-arrow": false,
|
|
24381
|
+
"placeholder": "请输入表单视图名称",
|
|
24382
|
+
"show-search": ""
|
|
24383
|
+
},
|
|
24384
|
+
on: {
|
|
24385
|
+
"change": _vm.optionViewChange,
|
|
24386
|
+
"search": _vm.optionViewSearch
|
|
24387
|
+
},
|
|
24388
|
+
model: {
|
|
24389
|
+
value: _vm.nodeRef.data.option_view_id,
|
|
24390
|
+
callback: function callback($$v) {
|
|
24391
|
+
_vm.$set(_vm.nodeRef.data, "option_view_id", $$v);
|
|
24392
|
+
},
|
|
24393
|
+
expression: "nodeRef.data.option_view_id"
|
|
24394
|
+
}
|
|
24395
|
+
}, _vm._l(_vm.optionViewList, function (d) {
|
|
24396
|
+
return _c('a-select-option', {
|
|
24397
|
+
key: d.value,
|
|
24398
|
+
attrs: {
|
|
24399
|
+
"value": d.value
|
|
24400
|
+
}
|
|
24401
|
+
}, [_vm._v(" " + _vm._s(d.text) + " ")]);
|
|
24402
|
+
}), 1) : _vm._e()], 1)], 1)], 1), _c('div', {
|
|
24403
|
+
key: _vm.nodeRef.data.option_view_id,
|
|
24404
|
+
staticClass: "node-from-item"
|
|
24405
|
+
}, [_c('a-divider', {
|
|
24406
|
+
attrs: {
|
|
24407
|
+
"orientation": "left"
|
|
24408
|
+
}
|
|
24409
|
+
}, [_vm._v("表单权限")]), _vm.optionViewType === 'use_model' || _vm.nodeRef.data.option_view_id ? _c('a-spin', {
|
|
24410
|
+
attrs: {
|
|
24411
|
+
"spinning": _vm.viewAttrLoading
|
|
24412
|
+
}
|
|
24413
|
+
}, [_c('a-row', [_c('a-col', {
|
|
24414
|
+
attrs: {
|
|
24415
|
+
"span": 11
|
|
24416
|
+
}
|
|
24417
|
+
}, [_c('a-input-search', {
|
|
24418
|
+
staticStyle: {
|
|
24419
|
+
"margin-bottom": "8px"
|
|
24420
|
+
},
|
|
24421
|
+
attrs: {
|
|
24422
|
+
"enter-button": "",
|
|
24423
|
+
"placeholder": "搜索表单属性"
|
|
24424
|
+
},
|
|
24425
|
+
on: {
|
|
24426
|
+
"search": function search(value) {
|
|
24427
|
+
return _vm.formsColumnFilter = value;
|
|
24428
|
+
}
|
|
24429
|
+
}
|
|
24430
|
+
})], 1), _c('a-col', {
|
|
24431
|
+
attrs: {
|
|
24432
|
+
"span": 1
|
|
24433
|
+
}
|
|
24434
|
+
}), _c('a-col', {
|
|
24435
|
+
attrs: {
|
|
24436
|
+
"span": 11
|
|
24437
|
+
}
|
|
24438
|
+
}, [_c('a-radio-group', {
|
|
24439
|
+
attrs: {
|
|
24440
|
+
"button-style": "solid"
|
|
24441
|
+
},
|
|
24442
|
+
model: {
|
|
24443
|
+
value: _vm.formsColumnAccess,
|
|
24444
|
+
callback: function callback($$v) {
|
|
24445
|
+
_vm.formsColumnAccess = $$v;
|
|
24446
|
+
},
|
|
24447
|
+
expression: "formsColumnAccess"
|
|
24448
|
+
}
|
|
24449
|
+
}, [_c('a-radio-button', {
|
|
24450
|
+
attrs: {
|
|
24451
|
+
"value": "all"
|
|
24452
|
+
}
|
|
24453
|
+
}, [_vm._v(" 无 ")]), _c('a-radio-button', {
|
|
24454
|
+
attrs: {
|
|
24455
|
+
"value": "none"
|
|
24456
|
+
}
|
|
24457
|
+
}, [_vm._v(" 隐藏 ")]), _c('a-radio-button', {
|
|
24458
|
+
attrs: {
|
|
24459
|
+
"value": "readonly"
|
|
24460
|
+
}
|
|
24461
|
+
}, [_vm._v(" 只读 ")]), _c('a-radio-button', {
|
|
24462
|
+
attrs: {
|
|
24463
|
+
"value": "write"
|
|
24464
|
+
}
|
|
24465
|
+
}, [_vm._v(" 可写 ")]), _c('a-radio-button', {
|
|
24466
|
+
attrs: {
|
|
24467
|
+
"value": "readonlywrite"
|
|
24468
|
+
}
|
|
24469
|
+
}, [_vm._v(" 读写 ")])], 1)], 1)], 1), _c('a-table', {
|
|
24470
|
+
attrs: {
|
|
24471
|
+
"columns": _vm.optionFormsColumns,
|
|
24472
|
+
"data-source": _vm.filterDataset(_vm.formsColumnFilter, _vm.nodeRef.data.option_forms, ['attrName', 'attrCode']),
|
|
24473
|
+
"row-key": function rowKey(record) {
|
|
24474
|
+
return record.attrId;
|
|
24475
|
+
}
|
|
24476
|
+
},
|
|
24477
|
+
scopedSlots: _vm._u([{
|
|
24478
|
+
key: "attrName",
|
|
24479
|
+
fn: function fn(text, record) {
|
|
24480
|
+
return _c('span', {}, [_vm._v(_vm._s(record.attrName) + "(" + _vm._s(record.attrCode) + ")")]);
|
|
24481
|
+
}
|
|
24482
|
+
}, {
|
|
24483
|
+
key: "none",
|
|
24484
|
+
fn: function fn(text, record) {
|
|
24485
|
+
return _c('span', {}, [_c('a-radio', {
|
|
24486
|
+
attrs: {
|
|
24487
|
+
"checked": record.access === 'none',
|
|
24488
|
+
"value": "none"
|
|
24489
|
+
},
|
|
24490
|
+
on: {
|
|
24491
|
+
"change": function change() {
|
|
24492
|
+
return record.access = 'none';
|
|
24493
|
+
}
|
|
24494
|
+
}
|
|
24495
|
+
}, [_vm._v("隐藏")])], 1);
|
|
24496
|
+
}
|
|
24497
|
+
}, {
|
|
24498
|
+
key: "readonly",
|
|
24499
|
+
fn: function fn(text, record) {
|
|
24500
|
+
return _c('span', {}, [_c('a-radio', {
|
|
24501
|
+
attrs: {
|
|
24502
|
+
"checked": record.access === 'readonly',
|
|
24503
|
+
"value": "readonly"
|
|
24504
|
+
},
|
|
24505
|
+
on: {
|
|
24506
|
+
"change": function change() {
|
|
24507
|
+
return record.access = 'readonly';
|
|
24508
|
+
}
|
|
24509
|
+
}
|
|
24510
|
+
}, [_vm._v("只读")])], 1);
|
|
24511
|
+
}
|
|
24512
|
+
}, {
|
|
24513
|
+
key: "write",
|
|
24514
|
+
fn: function fn(text, record) {
|
|
24515
|
+
return _c('span', {}, [_c('a-radio', {
|
|
24516
|
+
attrs: {
|
|
24517
|
+
"checked": record.access === 'write',
|
|
24518
|
+
"value": "write"
|
|
24519
|
+
},
|
|
24520
|
+
on: {
|
|
24521
|
+
"change": function change() {
|
|
24522
|
+
return record.access = 'write';
|
|
24523
|
+
}
|
|
24524
|
+
}
|
|
24525
|
+
}, [_vm._v("可编辑")])], 1);
|
|
24526
|
+
}
|
|
24527
|
+
}, {
|
|
24528
|
+
key: "required",
|
|
24529
|
+
fn: function fn(text, record) {
|
|
24530
|
+
return _c('span', {}, [record.access === 'write' ? _c('a-switch', {
|
|
24531
|
+
model: {
|
|
24532
|
+
value: record.required,
|
|
24533
|
+
callback: function callback($$v) {
|
|
24534
|
+
_vm.$set(record, "required", $$v);
|
|
24535
|
+
},
|
|
24536
|
+
expression: "record.required"
|
|
24537
|
+
}
|
|
24538
|
+
}) : _vm._e()], 1);
|
|
24539
|
+
}
|
|
24540
|
+
}], null, false, 274236117)
|
|
24541
|
+
}, [_c('span', {
|
|
24542
|
+
attrs: {
|
|
24543
|
+
"slot": "noneColumn"
|
|
24544
|
+
},
|
|
24545
|
+
slot: "noneColumn"
|
|
24546
|
+
}, [_c('a-radio', {
|
|
24547
|
+
attrs: {
|
|
24548
|
+
"checked": _vm.optionFormsRadio === 'none',
|
|
24549
|
+
"value": "none"
|
|
24550
|
+
},
|
|
24551
|
+
on: {
|
|
24552
|
+
"change": function change($event) {
|
|
24553
|
+
return _vm.optionFormsRadioChange('none');
|
|
24554
|
+
}
|
|
24555
|
+
}
|
|
24556
|
+
}, [_vm._v("隐藏")])], 1), _c('span', {
|
|
24557
|
+
attrs: {
|
|
24558
|
+
"slot": "readonlyColumn"
|
|
24559
|
+
},
|
|
24560
|
+
slot: "readonlyColumn"
|
|
24561
|
+
}, [_c('a-radio', {
|
|
24562
|
+
attrs: {
|
|
24563
|
+
"checked": _vm.optionFormsRadio === 'readonly',
|
|
24564
|
+
"value": "readonly"
|
|
24565
|
+
},
|
|
24566
|
+
on: {
|
|
24567
|
+
"change": function change($event) {
|
|
24568
|
+
return _vm.optionFormsRadioChange('readonly');
|
|
24569
|
+
}
|
|
24570
|
+
}
|
|
24571
|
+
}, [_vm._v("只读")])], 1), _c('span', {
|
|
24572
|
+
attrs: {
|
|
24573
|
+
"slot": "writeColumn"
|
|
24574
|
+
},
|
|
24575
|
+
slot: "writeColumn"
|
|
24576
|
+
}, [_c('a-radio', {
|
|
24577
|
+
attrs: {
|
|
24578
|
+
"checked": _vm.optionFormsRadio === 'write',
|
|
24579
|
+
"value": "write"
|
|
24580
|
+
},
|
|
24581
|
+
on: {
|
|
24582
|
+
"change": function change($event) {
|
|
24583
|
+
return _vm.optionFormsRadioChange('write');
|
|
24584
|
+
}
|
|
24585
|
+
}
|
|
24586
|
+
}, [_vm._v("可编辑")])], 1)])], 1) : _vm._e()], 1)]), _c('a-tab-pane', {
|
|
24587
|
+
key: "others",
|
|
24588
|
+
attrs: {
|
|
24589
|
+
"tab": "其他配置"
|
|
24590
|
+
}
|
|
24591
|
+
}, [_c('a-card', {
|
|
24592
|
+
staticStyle: {
|
|
24593
|
+
"margin": "5px"
|
|
24594
|
+
},
|
|
24595
|
+
attrs: {
|
|
24596
|
+
"size": "small",
|
|
24597
|
+
"title": "消息配置"
|
|
24598
|
+
}
|
|
24599
|
+
}, [_c('a-input', {
|
|
24600
|
+
staticStyle: {
|
|
24601
|
+
"margin-bottom": "5px"
|
|
24602
|
+
},
|
|
24603
|
+
attrs: {
|
|
24604
|
+
"placeholder": "待办跳转地址;以/结尾,例如:/${appKey}#/res_path/"
|
|
24605
|
+
},
|
|
24606
|
+
model: {
|
|
24607
|
+
value: _vm.nodeRef.data.other_options.resPath,
|
|
24608
|
+
callback: function callback($$v) {
|
|
24609
|
+
_vm.$set(_vm.nodeRef.data.other_options, "resPath", $$v);
|
|
24610
|
+
},
|
|
24611
|
+
expression: "nodeRef.data.other_options.resPath"
|
|
24612
|
+
}
|
|
24613
|
+
}), _c('a-input', {
|
|
24614
|
+
attrs: {
|
|
24615
|
+
"placeholder": "消息跳转地址"
|
|
24616
|
+
},
|
|
24617
|
+
model: {
|
|
24618
|
+
value: _vm.nodeRef.data.other_options.redirectUri,
|
|
24619
|
+
callback: function callback($$v) {
|
|
24620
|
+
_vm.$set(_vm.nodeRef.data.other_options, "redirectUri", $$v);
|
|
24621
|
+
},
|
|
24622
|
+
expression: "nodeRef.data.other_options.redirectUri"
|
|
24623
|
+
}
|
|
24624
|
+
}), _vm.noticeTemplateAttr ? _c('Item', {
|
|
24625
|
+
key: _vm.noticeTemplateAttr.name,
|
|
24626
|
+
staticClass: "node-form-item",
|
|
24627
|
+
attrs: {
|
|
24628
|
+
"formModel": _vm.eadApi.getComponent().actionModel,
|
|
24629
|
+
"params": (_vm$noticeTemplateAtt = _vm.noticeTemplateAttr.params) !== null && _vm$noticeTemplateAtt !== void 0 ? _vm$noticeTemplateAtt : {},
|
|
24630
|
+
"prop": _vm.noticeTemplateAttr.name,
|
|
24631
|
+
"required": false,
|
|
24632
|
+
"schema": _vm.noticeTemplateAttr
|
|
24633
|
+
},
|
|
24634
|
+
on: {
|
|
24635
|
+
"change": function change($event) {
|
|
24636
|
+
return _vm.handleItemChange($event, _vm.noticeTemplateAttr);
|
|
24637
|
+
}
|
|
24638
|
+
},
|
|
24639
|
+
model: {
|
|
24640
|
+
value: _vm.nodeRef.data.notice_template,
|
|
24641
|
+
callback: function callback($$v) {
|
|
24642
|
+
_vm.$set(_vm.nodeRef.data, "notice_template", $$v);
|
|
24643
|
+
},
|
|
24644
|
+
expression: "nodeRef.data.notice_template"
|
|
24645
|
+
}
|
|
24646
|
+
}) : _vm._e(), _c('a-alert', {
|
|
24647
|
+
attrs: {
|
|
24648
|
+
"message": "模板变量:",
|
|
24649
|
+
"type": "success"
|
|
24650
|
+
}
|
|
24651
|
+
}, [_c('div', {
|
|
24652
|
+
attrs: {
|
|
24653
|
+
"slot": "description"
|
|
24654
|
+
},
|
|
24655
|
+
slot: "description"
|
|
24656
|
+
}, [_c('div', [_vm._v("${workflow.variable.sponsor} - 发起人")]), _c('div', [_vm._v("${workflow.variable.sponsor_name} - 发起人姓名")]), _c('div', [_vm._v("${workflow.variable.sponsor_org} - 发起人组织机构")]), _c('div', [_vm._v("${workflow.variable.sponsor_org_name} - 发起人组织机构名称")]), _c('div', [_vm._v("${workflow.variable.sponsor_role} - 发起人角色")]), _c('div', [_vm._v("${workflow.variable.sponsor_role_name} - 发起人角色名")]), _c('div', [_vm._v("${workflow_req.page_operate.action} - 执行动作")]), _c('div', [_vm._v("${workflow_req.page_operate.approver} - 执行人")]), _c('div', [_vm._v("${workflow_req.page_operate.approver_name} - 执行人名称")])])])], 1), _c('div', {
|
|
24657
|
+
staticClass: "node-form-item"
|
|
24658
|
+
}, [_c('a-divider', {
|
|
24659
|
+
attrs: {
|
|
24660
|
+
"orientation": "left"
|
|
24661
|
+
}
|
|
24662
|
+
}, [_vm._v("退回配置")]), _c('a-row', {
|
|
24663
|
+
staticStyle: {
|
|
24664
|
+
"display": "flex",
|
|
24665
|
+
"align-items": "center",
|
|
24666
|
+
"margin-bottom": "5px"
|
|
24667
|
+
}
|
|
24668
|
+
}, [_c('a-col', {
|
|
24669
|
+
attrs: {
|
|
24670
|
+
"span": 4
|
|
24671
|
+
}
|
|
24672
|
+
}, [_vm._v("退回配置")]), _c('a-col', {
|
|
24673
|
+
attrs: {
|
|
24674
|
+
"span": 20
|
|
24675
|
+
}
|
|
24676
|
+
}, [_c('a-radio-group', {
|
|
24677
|
+
staticClass: "node-from-item",
|
|
24678
|
+
staticStyle: {
|
|
24679
|
+
"margin-right": "10px"
|
|
24680
|
+
},
|
|
24681
|
+
attrs: {
|
|
24682
|
+
"button-style": "solid"
|
|
24683
|
+
},
|
|
24684
|
+
model: {
|
|
24685
|
+
value: _vm.nodeRef.data.page_options.allowBack,
|
|
24686
|
+
callback: function callback($$v) {
|
|
24687
|
+
_vm.$set(_vm.nodeRef.data.page_options, "allowBack", $$v);
|
|
24688
|
+
},
|
|
24689
|
+
expression: "nodeRef.data.page_options.allowBack"
|
|
24690
|
+
}
|
|
24691
|
+
}, [_c('a-radio-button', {
|
|
24692
|
+
attrs: {
|
|
24693
|
+
"value": false
|
|
24694
|
+
}
|
|
24695
|
+
}, [_vm._v(" 禁止 ")]), _c('a-radio-button', {
|
|
24696
|
+
attrs: {
|
|
24697
|
+
"value": true,
|
|
24698
|
+
"disabled": ""
|
|
24699
|
+
}
|
|
24700
|
+
}, [_vm._v(" 允许 ")])], 1)], 1)], 1), _c('a-row', [_c('a-col', {
|
|
24701
|
+
staticStyle: {
|
|
24702
|
+
"display": "flex",
|
|
24703
|
+
"align-items": "center",
|
|
24704
|
+
"margin-bottom": "5px"
|
|
24705
|
+
},
|
|
24706
|
+
attrs: {
|
|
24707
|
+
"span": 24
|
|
24708
|
+
}
|
|
24709
|
+
}, [_vm.nodeRef.data.page_options.allowBack ? _c('a-radio-group', {
|
|
24710
|
+
attrs: {
|
|
24711
|
+
"button-style": "solid"
|
|
24712
|
+
},
|
|
24713
|
+
model: {
|
|
24714
|
+
value: _vm.nodeRef.data.back_type,
|
|
24715
|
+
callback: function callback($$v) {
|
|
24716
|
+
_vm.$set(_vm.nodeRef.data, "back_type", $$v);
|
|
24717
|
+
},
|
|
24718
|
+
expression: "nodeRef.data.back_type"
|
|
24719
|
+
}
|
|
24720
|
+
}, [_c('a-radio-button', {
|
|
24721
|
+
attrs: {
|
|
24722
|
+
"value": "start"
|
|
24723
|
+
}
|
|
24724
|
+
}, [_vm._v(" 退回发起人 ")]), _c('a-radio-button', {
|
|
24725
|
+
attrs: {
|
|
24726
|
+
"value": "before"
|
|
24727
|
+
}
|
|
24728
|
+
}, [_vm._v(" 退回上一步 ")]), _vm.availableBackStep.length ? _c('a-radio-button', {
|
|
24729
|
+
attrs: {
|
|
24730
|
+
"value": "assign"
|
|
24731
|
+
}
|
|
24732
|
+
}, [_vm._v(" 指定退回节点 ")]) : _vm._e(), _vm.availableBackStep.length ? _c('a-radio-button', {
|
|
24733
|
+
attrs: {
|
|
24734
|
+
"value": "custom"
|
|
24735
|
+
}
|
|
24736
|
+
}, [_vm._v(" 自主选择退回节点 ")]) : _vm._e(), _c('a-radio-button', {
|
|
24737
|
+
attrs: {
|
|
24738
|
+
"value": "bpmn"
|
|
24739
|
+
}
|
|
24740
|
+
}, [_vm._v(" 后续节点控制 ")])], 1) : _vm._e()], 1)], 1), _vm.nodeRef.data.page_options.allowBack && _vm.nodeRef.data.back_type === 'custom' ? _c('a-row', {
|
|
24741
|
+
staticStyle: {
|
|
24742
|
+
"display": "flex",
|
|
24743
|
+
"align-items": "center"
|
|
24744
|
+
}
|
|
24745
|
+
}, [_c('a-col', {
|
|
24746
|
+
attrs: {
|
|
24747
|
+
"span": 5
|
|
24748
|
+
}
|
|
24749
|
+
}, [_vm._v("自主选择退回节点")]), _c('a-col', {
|
|
24750
|
+
attrs: {
|
|
24751
|
+
"span": 19
|
|
24752
|
+
}
|
|
24753
|
+
}, [_c('a-select', {
|
|
24754
|
+
staticStyle: {
|
|
24755
|
+
"width": "100%"
|
|
24756
|
+
},
|
|
24757
|
+
attrs: {
|
|
24758
|
+
"options": _vm.availableBackStep,
|
|
24759
|
+
"mode": "multiple",
|
|
24760
|
+
"placeholder": "可选退回节点"
|
|
24761
|
+
},
|
|
24762
|
+
model: {
|
|
24763
|
+
value: _vm.nodeRef.data.custom_back_nodes,
|
|
24764
|
+
callback: function callback($$v) {
|
|
24765
|
+
_vm.$set(_vm.nodeRef.data, "custom_back_nodes", $$v);
|
|
24766
|
+
},
|
|
24767
|
+
expression: "nodeRef.data.custom_back_nodes"
|
|
24768
|
+
}
|
|
24769
|
+
})], 1)], 1) : _vm._e(), _vm.nodeRef.data.page_options.allowBack && _vm.nodeRef.data.back_type === 'assign' ? _c('a-row', {
|
|
24770
|
+
staticStyle: {
|
|
24771
|
+
"display": "flex",
|
|
24772
|
+
"align-items": "center"
|
|
24773
|
+
}
|
|
24774
|
+
}, [_c('a-col', {
|
|
24775
|
+
attrs: {
|
|
24776
|
+
"span": 4
|
|
24777
|
+
}
|
|
24778
|
+
}, [_vm._v("指定退回节点")]), _c('a-col', {
|
|
24779
|
+
attrs: {
|
|
24780
|
+
"span": 20
|
|
24781
|
+
}
|
|
24782
|
+
}, [_c('a-select', {
|
|
24783
|
+
staticStyle: {
|
|
24784
|
+
"width": "100%"
|
|
24785
|
+
},
|
|
24786
|
+
attrs: {
|
|
24787
|
+
"options": _vm.availableBackStep,
|
|
24788
|
+
"placeholder": "指定退回节点"
|
|
24789
|
+
},
|
|
24790
|
+
model: {
|
|
24791
|
+
value: _vm.nodeRef.data.back_node_id,
|
|
24792
|
+
callback: function callback($$v) {
|
|
24793
|
+
_vm.$set(_vm.nodeRef.data, "back_node_id", $$v);
|
|
24794
|
+
},
|
|
24795
|
+
expression: "nodeRef.data.back_node_id"
|
|
24796
|
+
}
|
|
24797
|
+
})], 1)], 1) : _vm._e(), _vm.nodeRef.data.page_options.allowBack && _vm.nodeRef.data.back_type === 'bpmn' ? _c('a-row', [_c('a-alert', {
|
|
24798
|
+
attrs: {
|
|
24799
|
+
"message": "退回表达式: workflow_req.page_operate.action === 'back'",
|
|
24800
|
+
"type": "success"
|
|
24801
|
+
}
|
|
24802
|
+
})], 1) : _vm._e()], 1), _vm.nodeRef.data.timeout_remind.enable ? _c('div', [_c('a-row', {
|
|
24803
|
+
staticStyle: {
|
|
24804
|
+
"display": "flex",
|
|
24805
|
+
"align-items": "center",
|
|
24806
|
+
"margin-bottom": "5px"
|
|
24807
|
+
}
|
|
24808
|
+
}, [_c('a-col', {
|
|
24809
|
+
attrs: {
|
|
24810
|
+
"span": 4
|
|
24811
|
+
}
|
|
24812
|
+
}, [_vm._v("超时时间")]), _c('a-col', {
|
|
24813
|
+
attrs: {
|
|
24814
|
+
"span": 8
|
|
24815
|
+
}
|
|
24816
|
+
}, [_c('a-input-group', {
|
|
24817
|
+
attrs: {
|
|
24818
|
+
"compact": ""
|
|
24819
|
+
}
|
|
24820
|
+
}, [_c('a-input-number', {
|
|
24821
|
+
staticStyle: {
|
|
24822
|
+
"width": "70%"
|
|
24823
|
+
},
|
|
24824
|
+
attrs: {
|
|
24825
|
+
"max": 100,
|
|
24826
|
+
"min": 1
|
|
24827
|
+
},
|
|
24828
|
+
on: {
|
|
24829
|
+
"change": function change(value) {
|
|
24830
|
+
if (!value) {
|
|
24831
|
+
_vm.nodeRef.data.timeout_remind.outTime.time = 1;
|
|
24832
|
+
}
|
|
24833
|
+
}
|
|
24834
|
+
},
|
|
24835
|
+
model: {
|
|
24836
|
+
value: _vm.nodeRef.data.timeout_remind.outTime.time,
|
|
24837
|
+
callback: function callback($$v) {
|
|
24838
|
+
_vm.$set(_vm.nodeRef.data.timeout_remind.outTime, "time", $$v);
|
|
24839
|
+
},
|
|
24840
|
+
expression: "nodeRef.data.timeout_remind.outTime.time"
|
|
24841
|
+
}
|
|
24842
|
+
}), _c('a-select', {
|
|
24843
|
+
staticStyle: {
|
|
24844
|
+
"width": "30%"
|
|
24845
|
+
},
|
|
24846
|
+
attrs: {
|
|
24847
|
+
"options": [{
|
|
24848
|
+
value: 'minute',
|
|
24849
|
+
label: '分钟'
|
|
24850
|
+
}, {
|
|
24851
|
+
value: 'hour',
|
|
24852
|
+
label: '小时'
|
|
24853
|
+
}, {
|
|
24854
|
+
value: 'day',
|
|
24855
|
+
label: '天'
|
|
24856
|
+
}, {
|
|
24857
|
+
value: 'week',
|
|
24858
|
+
label: '周'
|
|
24859
|
+
}, {
|
|
24860
|
+
value: 'month',
|
|
24861
|
+
label: '月'
|
|
24862
|
+
}, {
|
|
24863
|
+
value: 'year',
|
|
24864
|
+
label: '年'
|
|
24865
|
+
}],
|
|
24866
|
+
"placeholder": "单位"
|
|
24867
|
+
},
|
|
24868
|
+
model: {
|
|
24869
|
+
value: _vm.nodeRef.data.timeout_remind.outTime.unit,
|
|
24870
|
+
callback: function callback($$v) {
|
|
24871
|
+
_vm.$set(_vm.nodeRef.data.timeout_remind.outTime, "unit", $$v);
|
|
24872
|
+
},
|
|
24873
|
+
expression: "nodeRef.data.timeout_remind.outTime.unit"
|
|
24874
|
+
}
|
|
24875
|
+
})], 1)], 1)], 1), _c('a-row', {
|
|
24876
|
+
staticStyle: {
|
|
24877
|
+
"display": "flex",
|
|
24878
|
+
"align-items": "center",
|
|
24879
|
+
"margin-bottom": "5px"
|
|
24880
|
+
}
|
|
24881
|
+
}, [_c('a-col', {
|
|
24882
|
+
attrs: {
|
|
24883
|
+
"span": 4
|
|
24884
|
+
}
|
|
24885
|
+
}, [_vm._v("提醒周期")]), _c('a-col', {
|
|
24886
|
+
attrs: {
|
|
24887
|
+
"span": 20
|
|
24888
|
+
}
|
|
24889
|
+
}, [_c('a-radio-group', {
|
|
24890
|
+
attrs: {
|
|
24891
|
+
"button-style": "solid"
|
|
24892
|
+
},
|
|
24893
|
+
model: {
|
|
24894
|
+
value: _vm.nodeRef.data.timeout_remind.outCycle,
|
|
24895
|
+
callback: function callback($$v) {
|
|
24896
|
+
_vm.$set(_vm.nodeRef.data.timeout_remind, "outCycle", $$v);
|
|
24897
|
+
},
|
|
24898
|
+
expression: "nodeRef.data.timeout_remind.outCycle"
|
|
24899
|
+
}
|
|
24900
|
+
}, [_c('a-radio-button', {
|
|
24901
|
+
attrs: {
|
|
24902
|
+
"value": "once"
|
|
24903
|
+
}
|
|
24904
|
+
}, [_vm._v(" 一次 ")]), _c('a-radio-button', {
|
|
24905
|
+
attrs: {
|
|
24906
|
+
"value": "day"
|
|
24907
|
+
}
|
|
24908
|
+
}, [_vm._v(" 每天 ")]), _c('a-radio-button', {
|
|
24909
|
+
attrs: {
|
|
24910
|
+
"value": "week"
|
|
24911
|
+
}
|
|
24912
|
+
}, [_vm._v(" 每周 ")]), _c('a-radio-button', {
|
|
24913
|
+
attrs: {
|
|
24914
|
+
"value": "month"
|
|
24915
|
+
}
|
|
24916
|
+
}, [_vm._v(" 每月 ")]), _c('a-radio-button', {
|
|
24917
|
+
attrs: {
|
|
24918
|
+
"value": "year"
|
|
24919
|
+
}
|
|
24920
|
+
}, [_vm._v(" 每年 ")])], 1)], 1)], 1), _c('a-row', {
|
|
24921
|
+
staticStyle: {
|
|
24922
|
+
"display": "flex",
|
|
24923
|
+
"align-items": "center",
|
|
24924
|
+
"margin-bottom": "5px"
|
|
24925
|
+
}
|
|
24926
|
+
}, [_c('a-col', {
|
|
24927
|
+
attrs: {
|
|
24928
|
+
"span": 4
|
|
24929
|
+
}
|
|
24930
|
+
}, [_vm._v("超时驱动")]), _c('a-col', {
|
|
24931
|
+
attrs: {
|
|
24932
|
+
"span": 20
|
|
24933
|
+
}
|
|
24934
|
+
}, [_c('a-select', {
|
|
24935
|
+
staticStyle: {
|
|
24936
|
+
"width": "100%"
|
|
24937
|
+
},
|
|
24938
|
+
attrs: {
|
|
24939
|
+
"default-active-first-option": false,
|
|
24940
|
+
"filter-option": false,
|
|
24941
|
+
"not-found-content": null,
|
|
24942
|
+
"options": _vm.driverList,
|
|
24943
|
+
"show-arrow": false,
|
|
24944
|
+
"allowClear": "",
|
|
24945
|
+
"placeholder": "输入驱动",
|
|
24946
|
+
"show-search": ""
|
|
24947
|
+
},
|
|
24948
|
+
on: {
|
|
24949
|
+
"change": _vm.handleDriverChange,
|
|
24950
|
+
"search": _vm.handleDriverSearch
|
|
24951
|
+
},
|
|
24952
|
+
model: {
|
|
24953
|
+
value: _vm.nodeRef.data.timeout_remind.outDriver,
|
|
24954
|
+
callback: function callback($$v) {
|
|
24955
|
+
_vm.$set(_vm.nodeRef.data.timeout_remind, "outDriver", $$v);
|
|
24956
|
+
},
|
|
24957
|
+
expression: "nodeRef.data.timeout_remind.outDriver"
|
|
24958
|
+
}
|
|
24959
|
+
})], 1)], 1)], 1) : _vm._e(), _c('div', {
|
|
24960
|
+
staticClass: "node-form-item"
|
|
24961
|
+
}, [_c('a-divider', {
|
|
24962
|
+
attrs: {
|
|
24963
|
+
"orientation": "left"
|
|
24964
|
+
}
|
|
24965
|
+
}, [_vm._v("转办配置")]), _c('a-row', {
|
|
24966
|
+
staticStyle: {
|
|
24967
|
+
"display": "flex",
|
|
24968
|
+
"align-items": "center",
|
|
24969
|
+
"margin-bottom": "5px"
|
|
24970
|
+
}
|
|
24971
|
+
}, [_c('a-col', {
|
|
24972
|
+
attrs: {
|
|
24973
|
+
"span": 4
|
|
24974
|
+
}
|
|
24975
|
+
}, [_vm._v("允许转办")]), _c('a-col', {
|
|
24976
|
+
attrs: {
|
|
24977
|
+
"span": 20
|
|
24978
|
+
}
|
|
24979
|
+
}, [_c('a-radio-group', {
|
|
24980
|
+
staticStyle: {
|
|
24981
|
+
"margin-right": "10px"
|
|
24982
|
+
},
|
|
24983
|
+
attrs: {
|
|
24984
|
+
"button-style": "solid"
|
|
24985
|
+
},
|
|
24986
|
+
model: {
|
|
24987
|
+
value: _vm.nodeRef.data.page_options.allowReassign,
|
|
24988
|
+
callback: function callback($$v) {
|
|
24989
|
+
_vm.$set(_vm.nodeRef.data.page_options, "allowReassign", $$v);
|
|
24990
|
+
},
|
|
24991
|
+
expression: "nodeRef.data.page_options.allowReassign"
|
|
24992
|
+
}
|
|
24993
|
+
}, [_c('a-radio-button', {
|
|
24994
|
+
attrs: {
|
|
24995
|
+
"value": false
|
|
24996
|
+
}
|
|
24997
|
+
}, [_vm._v(" 禁止 ")]), _c('a-radio-button', {
|
|
24998
|
+
attrs: {
|
|
24999
|
+
"value": true,
|
|
25000
|
+
"disabled": ""
|
|
25001
|
+
}
|
|
25002
|
+
}, [_vm._v(" 允许 ")])], 1)], 1)], 1)], 1), _c('div', {
|
|
25003
|
+
staticClass: "node-form-item"
|
|
25004
|
+
}, [_c('a-divider', {
|
|
25005
|
+
attrs: {
|
|
25006
|
+
"orientation": "left"
|
|
25007
|
+
}
|
|
25008
|
+
}, [_vm._v("加签配置")]), _c('a-row', {
|
|
25009
|
+
staticStyle: {
|
|
25010
|
+
"display": "flex",
|
|
25011
|
+
"align-items": "center",
|
|
25012
|
+
"margin-bottom": "5px"
|
|
25013
|
+
}
|
|
25014
|
+
}, [_c('a-col', {
|
|
25015
|
+
attrs: {
|
|
25016
|
+
"span": 4
|
|
25017
|
+
}
|
|
25018
|
+
}, [_vm._v("允许加签")]), _c('a-col', {
|
|
25019
|
+
attrs: {
|
|
25020
|
+
"span": 20
|
|
25021
|
+
}
|
|
25022
|
+
}, [_c('a-radio-group', {
|
|
25023
|
+
staticStyle: {
|
|
25024
|
+
"margin-right": "10px"
|
|
25025
|
+
},
|
|
25026
|
+
attrs: {
|
|
25027
|
+
"button-style": "solid"
|
|
25028
|
+
},
|
|
25029
|
+
model: {
|
|
25030
|
+
value: _vm.nodeRef.data.page_options.allowInvolve,
|
|
25031
|
+
callback: function callback($$v) {
|
|
25032
|
+
_vm.$set(_vm.nodeRef.data.page_options, "allowInvolve", $$v);
|
|
25033
|
+
},
|
|
25034
|
+
expression: "nodeRef.data.page_options.allowInvolve"
|
|
25035
|
+
}
|
|
25036
|
+
}, [_c('a-radio-button', {
|
|
25037
|
+
attrs: {
|
|
25038
|
+
"value": false
|
|
25039
|
+
}
|
|
25040
|
+
}, [_vm._v(" 禁止 ")]), _c('a-radio-button', {
|
|
25041
|
+
attrs: {
|
|
25042
|
+
"value": true,
|
|
25043
|
+
"disabled": ""
|
|
25044
|
+
}
|
|
25045
|
+
}, [_vm._v(" 允许 ")])], 1)], 1)], 1)], 1), _c('div', {
|
|
25046
|
+
staticClass: "node-form-item"
|
|
25047
|
+
}, [_c('a-divider', {
|
|
25048
|
+
attrs: {
|
|
25049
|
+
"orientation": "left"
|
|
25050
|
+
}
|
|
25051
|
+
}, [_vm._v("流程结束")]), _c('a-row', {
|
|
25052
|
+
staticStyle: {
|
|
25053
|
+
"display": "flex",
|
|
25054
|
+
"align-items": "center",
|
|
25055
|
+
"margin-bottom": "5px"
|
|
25056
|
+
}
|
|
25057
|
+
}, [_c('a-col', {
|
|
25058
|
+
attrs: {
|
|
25059
|
+
"span": 4
|
|
25060
|
+
}
|
|
25061
|
+
}, [_vm._v("允许结束")]), _c('a-col', {
|
|
25062
|
+
attrs: {
|
|
25063
|
+
"span": 20
|
|
25064
|
+
}
|
|
25065
|
+
}, [_c('a-radio-group', {
|
|
25066
|
+
staticStyle: {
|
|
25067
|
+
"margin-right": "10px"
|
|
25068
|
+
},
|
|
25069
|
+
attrs: {
|
|
25070
|
+
"button-style": "solid"
|
|
25071
|
+
},
|
|
25072
|
+
model: {
|
|
25073
|
+
value: _vm.nodeRef.data.page_options.allowEnd,
|
|
25074
|
+
callback: function callback($$v) {
|
|
25075
|
+
_vm.$set(_vm.nodeRef.data.page_options, "allowEnd", $$v);
|
|
25076
|
+
},
|
|
25077
|
+
expression: "nodeRef.data.page_options.allowEnd"
|
|
25078
|
+
}
|
|
25079
|
+
}, [_c('a-radio-button', {
|
|
25080
|
+
attrs: {
|
|
25081
|
+
"value": false
|
|
25082
|
+
}
|
|
25083
|
+
}, [_vm._v(" 禁止 ")]), _c('a-radio-button', {
|
|
25084
|
+
attrs: {
|
|
25085
|
+
"value": true,
|
|
25086
|
+
"disabled": ""
|
|
25087
|
+
}
|
|
25088
|
+
}, [_vm._v(" 允许 ")])], 1)], 1)], 1)], 1), _c('div', [_c('a-divider', {
|
|
25089
|
+
attrs: {
|
|
25090
|
+
"orientation": "left"
|
|
25091
|
+
}
|
|
25092
|
+
}, [_vm._v("超时提醒")])], 1), _c('a-row', {
|
|
25093
|
+
staticStyle: {
|
|
25094
|
+
"display": "flex",
|
|
25095
|
+
"align-items": "center",
|
|
25096
|
+
"margin-bottom": "5px"
|
|
25097
|
+
}
|
|
25098
|
+
}, [_c('a-col', {
|
|
25099
|
+
attrs: {
|
|
25100
|
+
"span": 4
|
|
25101
|
+
}
|
|
25102
|
+
}, [_vm._v("超时提醒设置")]), _c('a-col', {
|
|
25103
|
+
attrs: {
|
|
25104
|
+
"span": 20
|
|
25105
|
+
}
|
|
25106
|
+
}, [_c('a-radio-group', {
|
|
25107
|
+
staticStyle: {
|
|
25108
|
+
"margin-right": "10px"
|
|
25109
|
+
},
|
|
25110
|
+
attrs: {
|
|
25111
|
+
"button-style": "solid"
|
|
25112
|
+
},
|
|
25113
|
+
model: {
|
|
25114
|
+
value: _vm.nodeRef.data.timeout_remind.enable,
|
|
25115
|
+
callback: function callback($$v) {
|
|
25116
|
+
_vm.$set(_vm.nodeRef.data.timeout_remind, "enable", $$v);
|
|
25117
|
+
},
|
|
25118
|
+
expression: "nodeRef.data.timeout_remind.enable"
|
|
25119
|
+
}
|
|
25120
|
+
}, [_c('a-radio-button', {
|
|
25121
|
+
attrs: {
|
|
25122
|
+
"value": false
|
|
25123
|
+
}
|
|
25124
|
+
}, [_vm._v(" 禁用 ")]), _c('a-radio-button', {
|
|
25125
|
+
attrs: {
|
|
25126
|
+
"value": true,
|
|
25127
|
+
"disabled": ""
|
|
25128
|
+
}
|
|
25129
|
+
}, [_vm._v(" 启用 ")])], 1)], 1)], 1), _c('div', {
|
|
25130
|
+
staticClass: "node-form-item"
|
|
25131
|
+
}, [_c('a-divider', {
|
|
25132
|
+
attrs: {
|
|
25133
|
+
"orientation": "left"
|
|
25134
|
+
}
|
|
25135
|
+
}, [_vm._v("其他配置")]), _c('a-row', {
|
|
25136
|
+
staticStyle: {
|
|
25137
|
+
"display": "flex",
|
|
25138
|
+
"align-items": "center",
|
|
25139
|
+
"margin-bottom": "5px"
|
|
25140
|
+
}
|
|
25141
|
+
}, [_c('a-col', {
|
|
25142
|
+
attrs: {
|
|
25143
|
+
"span": 4
|
|
25144
|
+
}
|
|
25145
|
+
}, [_vm._v("是否回执")]), _c('a-col', {
|
|
25146
|
+
attrs: {
|
|
25147
|
+
"span": 20
|
|
25148
|
+
}
|
|
25149
|
+
}, [_c('a-radio-group', {
|
|
25150
|
+
staticStyle: {
|
|
25151
|
+
"margin-right": "10px"
|
|
25152
|
+
},
|
|
25153
|
+
attrs: {
|
|
25154
|
+
"button-style": "solid"
|
|
25155
|
+
},
|
|
25156
|
+
model: {
|
|
25157
|
+
value: _vm.nodeRef.data.other_options.allowReceipt,
|
|
25158
|
+
callback: function callback($$v) {
|
|
25159
|
+
_vm.$set(_vm.nodeRef.data.other_options, "allowReceipt", $$v);
|
|
25160
|
+
},
|
|
25161
|
+
expression: "nodeRef.data.other_options.allowReceipt"
|
|
25162
|
+
}
|
|
25163
|
+
}, [_c('a-radio-button', {
|
|
25164
|
+
attrs: {
|
|
25165
|
+
"value": false
|
|
25166
|
+
}
|
|
25167
|
+
}, [_vm._v(" 禁止 ")]), _c('a-radio-button', {
|
|
25168
|
+
attrs: {
|
|
25169
|
+
"value": true,
|
|
25170
|
+
"disabled": ""
|
|
25171
|
+
}
|
|
25172
|
+
}, [_vm._v(" 允许 ")])], 1)], 1)], 1)], 1), _c('div', {
|
|
25173
|
+
staticClass: "node-form-item"
|
|
25174
|
+
}, [_c('a-divider', {
|
|
25175
|
+
attrs: {
|
|
25176
|
+
"orientation": "left"
|
|
25177
|
+
}
|
|
25178
|
+
}, [_vm._v("自定义参数")]), _c('a-row', {
|
|
25179
|
+
staticStyle: {
|
|
25180
|
+
"display": "flex",
|
|
25181
|
+
"align-items": "center",
|
|
25182
|
+
"margin-bottom": "5px"
|
|
25183
|
+
}
|
|
25184
|
+
}, [_c('a-col', {
|
|
25185
|
+
attrs: {
|
|
25186
|
+
"span": 24
|
|
25187
|
+
}
|
|
25188
|
+
}, [_c('a-textarea', {
|
|
25189
|
+
attrs: {
|
|
25190
|
+
"auto-size": "",
|
|
25191
|
+
"placeholder": "自定义参数(JSONObject); {}"
|
|
25192
|
+
},
|
|
25193
|
+
model: {
|
|
25194
|
+
value: _vm.nodeRef.data.other_options.custom,
|
|
25195
|
+
callback: function callback($$v) {
|
|
25196
|
+
_vm.$set(_vm.nodeRef.data.other_options, "custom", $$v);
|
|
25197
|
+
},
|
|
25198
|
+
expression: "nodeRef.data.other_options.custom"
|
|
25199
|
+
}
|
|
25200
|
+
})], 1)], 1)], 1), _c('div', {
|
|
25201
|
+
staticClass: "node-form-item"
|
|
25202
|
+
}, [_c('a-divider', {
|
|
25203
|
+
attrs: {
|
|
25204
|
+
"orientation": "left"
|
|
25205
|
+
}
|
|
25206
|
+
}, [_vm._v("自定义动作名称")]), _c('a-row', {
|
|
25207
|
+
staticStyle: {
|
|
25208
|
+
"display": "flex",
|
|
25209
|
+
"align-items": "center",
|
|
25210
|
+
"margin-bottom": "5px"
|
|
25211
|
+
}
|
|
25212
|
+
}, [_c('a-col', {
|
|
25213
|
+
staticStyle: {
|
|
25214
|
+
"display": "flex",
|
|
25215
|
+
"align-items": "center"
|
|
25216
|
+
},
|
|
25217
|
+
attrs: {
|
|
25218
|
+
"span": 3
|
|
25219
|
+
}
|
|
25220
|
+
}, [_vm._v("执行:")]), _c('a-col', {
|
|
25221
|
+
staticStyle: {
|
|
25222
|
+
"display": "flex",
|
|
25223
|
+
"align-items": "center"
|
|
25224
|
+
},
|
|
25225
|
+
attrs: {
|
|
25226
|
+
"span": 6
|
|
25227
|
+
}
|
|
25228
|
+
}, [_c('a-input', {
|
|
25229
|
+
attrs: {
|
|
25230
|
+
"placeholder": "执行"
|
|
25231
|
+
},
|
|
25232
|
+
model: {
|
|
25233
|
+
value: _vm.nodeRef.data.other_options.custom_action.pass,
|
|
25234
|
+
callback: function callback($$v) {
|
|
25235
|
+
_vm.$set(_vm.nodeRef.data.other_options.custom_action, "pass", $$v);
|
|
25236
|
+
},
|
|
25237
|
+
expression: "nodeRef.data.other_options.custom_action.pass"
|
|
25238
|
+
}
|
|
25239
|
+
})], 1)], 1)], 1)], 1), _vm.nodeRef.data.other_options.assert ? _c('a-tab-pane', {
|
|
25240
|
+
key: "assert",
|
|
25241
|
+
attrs: {
|
|
25242
|
+
"tab": "断言"
|
|
25243
|
+
}
|
|
25244
|
+
}, [_c('div', [_vm.nodeRef.data.other_options.assert ? _c('assert-designer', {
|
|
25245
|
+
attrs: {
|
|
25246
|
+
"data": _vm.nodeRef.data.other_options.assert,
|
|
25247
|
+
"hide-action": false
|
|
25248
|
+
}
|
|
25249
|
+
}) : _vm._e()], 1)]) : _vm._e()], 1)], 1) : _vm._e()], 1);
|
|
25250
|
+
};
|
|
25251
|
+
var TaskNodevue_type_template_id_71cd8e14_scoped_true_staticRenderFns = [];
|
|
25252
|
+
|
|
25253
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=template&id=71cd8e14&scoped=true
|
|
25254
|
+
|
|
25255
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=script&lang=js
|
|
25256
|
+
function TaskNodevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return TaskNodevue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, TaskNodevue_type_script_lang_js_typeof(o); }
|
|
25257
|
+
function TaskNodevue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ TaskNodevue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == TaskNodevue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(TaskNodevue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
25258
|
+
function TaskNodevue_type_script_lang_js_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
25259
|
+
function TaskNodevue_type_script_lang_js_asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { TaskNodevue_type_script_lang_js_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { TaskNodevue_type_script_lang_js_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
25260
|
+
function TaskNodevue_type_script_lang_js_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = TaskNodevue_type_script_lang_js_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
25261
|
+
function TaskNodevue_type_script_lang_js_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return TaskNodevue_type_script_lang_js_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return TaskNodevue_type_script_lang_js_arrayLikeToArray(o, minLen); }
|
|
25262
|
+
function TaskNodevue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
25263
|
+
function TaskNodevue_type_script_lang_js_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
25264
|
+
function TaskNodevue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? TaskNodevue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { TaskNodevue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : TaskNodevue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
25265
|
+
function TaskNodevue_type_script_lang_js_defineProperty(obj, key, value) { key = TaskNodevue_type_script_lang_js_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25266
|
+
function TaskNodevue_type_script_lang_js_toPropertyKey(t) { var i = TaskNodevue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == TaskNodevue_type_script_lang_js_typeof(i) ? i : String(i); }
|
|
25267
|
+
function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != TaskNodevue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != TaskNodevue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
25268
|
+
|
|
25269
|
+
|
|
25270
|
+
|
|
25271
|
+
|
|
25272
|
+
|
|
25273
|
+
|
|
25274
|
+
/* harmony default export */ var TaskNodevue_type_script_lang_js = ({
|
|
25275
|
+
name: 'TaskNode',
|
|
25276
|
+
props: {
|
|
25277
|
+
node: designer_NodeItem,
|
|
25278
|
+
nodeHandler: Object
|
|
25279
|
+
},
|
|
25280
|
+
components: {
|
|
25281
|
+
AssertDesigner: AssertDesigner,
|
|
25282
|
+
RuntimeWorkflowActors: RuntimeWorkFlowActors,
|
|
25283
|
+
Item: Item
|
|
25284
|
+
},
|
|
25285
|
+
data: function data() {
|
|
25286
|
+
return {
|
|
25287
|
+
defaultContent: '请选择',
|
|
25288
|
+
editName: false,
|
|
25289
|
+
tabKey: 'actors',
|
|
25290
|
+
optionViewType: 'use_model',
|
|
25291
|
+
optionViewId: null,
|
|
25292
|
+
// cache 缓存用途,ISSUE: change事件不会返回之前的value
|
|
25293
|
+
optionViewList: [],
|
|
25294
|
+
optionFormsColumns: [{
|
|
25295
|
+
title: '表单属性',
|
|
25296
|
+
key: 'attrName',
|
|
25297
|
+
scopedSlots: {
|
|
25298
|
+
customRender: 'attrName'
|
|
25299
|
+
}
|
|
25300
|
+
}, {
|
|
25301
|
+
key: 'none',
|
|
25302
|
+
slots: {
|
|
25303
|
+
title: 'noneColumn'
|
|
25304
|
+
},
|
|
25305
|
+
scopedSlots: {
|
|
25306
|
+
customRender: 'none'
|
|
25307
|
+
}
|
|
25308
|
+
}, {
|
|
25309
|
+
key: 'readonly',
|
|
25310
|
+
slots: {
|
|
25311
|
+
title: 'readonlyColumn'
|
|
25312
|
+
},
|
|
25313
|
+
scopedSlots: {
|
|
25314
|
+
customRender: 'readonly'
|
|
25315
|
+
}
|
|
25316
|
+
}, {
|
|
25317
|
+
key: 'write',
|
|
25318
|
+
slots: {
|
|
25319
|
+
title: 'writeColumn'
|
|
25320
|
+
},
|
|
25321
|
+
scopedSlots: {
|
|
25322
|
+
customRender: 'write'
|
|
25323
|
+
}
|
|
25324
|
+
}, {
|
|
25325
|
+
title: '必填',
|
|
25326
|
+
dataIndex: 'required',
|
|
25327
|
+
key: 'required',
|
|
25328
|
+
scopedSlots: {
|
|
25329
|
+
customRender: 'required'
|
|
25330
|
+
}
|
|
25331
|
+
}],
|
|
25332
|
+
orgMap: null,
|
|
25333
|
+
orgData: [],
|
|
25334
|
+
roles: [],
|
|
25335
|
+
users: [],
|
|
25336
|
+
viewNameTimeout: null,
|
|
25337
|
+
viewAttrLoading: true,
|
|
25338
|
+
driverList: null,
|
|
25339
|
+
driverTimeout: null,
|
|
25340
|
+
optionFormsCache: {},
|
|
25341
|
+
formsColumnFilter: undefined,
|
|
25342
|
+
formsColumnAccess: 'all'
|
|
25343
|
+
};
|
|
25344
|
+
},
|
|
25345
|
+
// eslint-disable-next-line vue/no-setup-props-destructure
|
|
25346
|
+
setup: function setup(_ref) {
|
|
25347
|
+
var node = _ref.node,
|
|
25348
|
+
nodeHandler = _ref.nodeHandler;
|
|
25349
|
+
// icon;
|
|
25350
|
+
var icon = {
|
|
25351
|
+
template: "\n <svg viewBox=\"0 0 1024 1024\">\n <path fill=\"currentColor\" d=\"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0zm544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z\"></path>\n </svg>\n "
|
|
25352
|
+
};
|
|
25353
|
+
|
|
25354
|
+
// drawer support
|
|
25355
|
+
var visibleDrawer = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
|
|
25356
|
+
|
|
25357
|
+
// -------------------------------------------------------------------------------------
|
|
25358
|
+
/**
|
|
25359
|
+
* @type {EadApi}
|
|
25360
|
+
*/
|
|
25361
|
+
// eslint-disable-next-line vue/no-setup-props-destructure
|
|
25362
|
+
var eadApi = nodeHandler.businessAdapter.eadApi;
|
|
25363
|
+
var defaultData = function defaultData() {
|
|
25364
|
+
return {
|
|
25365
|
+
eadCache: {
|
|
25366
|
+
workflow: {}
|
|
25367
|
+
},
|
|
25368
|
+
actor_config: {
|
|
25369
|
+
type: 'expression',
|
|
25370
|
+
// 发起人自己,sponsor
|
|
25371
|
+
expression: [
|
|
25372
|
+
// { type: 'uid', user: [] ,orgId: undefined, roleId: undefined, groupId: undefined}, // {sponsor} 发起人自己
|
|
25373
|
+
{
|
|
25374
|
+
type: 'org',
|
|
25375
|
+
user: [],
|
|
25376
|
+
orgId: undefined,
|
|
25377
|
+
roleId: undefined,
|
|
25378
|
+
groupId: undefined
|
|
25379
|
+
} // {sponsor_org} 发起人所在部门
|
|
25380
|
+
],
|
|
25381
|
+
optional: {
|
|
25382
|
+
enable: false,
|
|
25383
|
+
multi: false
|
|
25384
|
+
},
|
|
25385
|
+
// 自选配置
|
|
25386
|
+
check_mode: 'queue' // 多人审批模式,// 'orsign','sign'
|
|
25387
|
+
},
|
|
25388
|
+
option_view_id: '',
|
|
25389
|
+
option_forms: [],
|
|
25390
|
+
back_type: 'start',
|
|
25391
|
+
// start:退回发起者,before:退回上一步,assign:指定退回节点,custom:自主选择回退节点,bpmn:后续步骤
|
|
25392
|
+
back_node_id: '',
|
|
25393
|
+
custom_back_nodes: [],
|
|
25394
|
+
timeout_remind: {
|
|
25395
|
+
enable: false,
|
|
25396
|
+
outTime: {
|
|
25397
|
+
time: 1,
|
|
25398
|
+
unit: 'day'
|
|
25399
|
+
},
|
|
25400
|
+
// 超时时间, 单位 minute,hour,day,week,month,year
|
|
25401
|
+
outCycle: 'once',
|
|
25402
|
+
// 提醒周期,--once:一次,--day:每日 --week: 每周,--month:每月,==year:每年
|
|
25403
|
+
outDriver: undefined // 超时驱动,--null:default 默认消息通知,-- 自定义驱动名称
|
|
25404
|
+
},
|
|
25405
|
+
page_options: {
|
|
25406
|
+
allowInvolve: false,
|
|
25407
|
+
// 允许加签, -- true:允许, false: 不允许
|
|
25408
|
+
allowReassign: false,
|
|
25409
|
+
// 允许转办, -- true:允许, false: 不允许
|
|
25410
|
+
allowBack: false,
|
|
25411
|
+
// 允许退回, -- true:允许, false: 不允许
|
|
25412
|
+
allowEnd: false // 允许结束, -- true:允许, false: 不允许
|
|
25413
|
+
},
|
|
25414
|
+
other_options: {
|
|
25415
|
+
allowReceipt: false,
|
|
25416
|
+
// 是否回执,
|
|
25417
|
+
allowWithdraw: false,
|
|
25418
|
+
// 允许撤回: false
|
|
25419
|
+
approverIsNull: 'error',
|
|
25420
|
+
// 审批人为空时,next:自动下一步 ,error:提示错误
|
|
25421
|
+
resPath: null,
|
|
25422
|
+
// 视图资源地址
|
|
25423
|
+
redirectUri: null,
|
|
25424
|
+
// 消息地址
|
|
25425
|
+
assert: [],
|
|
25426
|
+
custom_action: {}
|
|
25427
|
+
},
|
|
25428
|
+
notice_template: null
|
|
25429
|
+
};
|
|
25430
|
+
};
|
|
25431
|
+
if (!node.data) {
|
|
25432
|
+
// eslint-disable-next-line vue/no-mutating-props
|
|
25433
|
+
node.data = defaultData();
|
|
25434
|
+
}
|
|
25435
|
+
|
|
25436
|
+
// 兼容更新
|
|
25437
|
+
if (!node.data.other_options.custom_action) {
|
|
25438
|
+
// eslint-disable-next-line vue/no-mutating-props
|
|
25439
|
+
node.data.other_options.custom_action = {};
|
|
25440
|
+
}
|
|
25441
|
+
if (!node.data.other_options.assert) {
|
|
25442
|
+
// eslint-disable-next-line vue/no-mutating-props
|
|
25443
|
+
node.data.other_options.assert = [];
|
|
25444
|
+
}
|
|
25445
|
+
|
|
25446
|
+
// ------------------------------------------------------------------------------------------------
|
|
25447
|
+
|
|
25448
|
+
// eslint-disable-next-line no-return-assign
|
|
25449
|
+
var showDrawer = function showDrawer() {
|
|
25450
|
+
return visibleDrawer.value = true;
|
|
25451
|
+
};
|
|
25452
|
+
var drawer = {
|
|
25453
|
+
visibleDrawer: visibleDrawer,
|
|
25454
|
+
showDrawer: showDrawer
|
|
25455
|
+
};
|
|
25456
|
+
|
|
25457
|
+
// popover support
|
|
25458
|
+
var visiblePopover = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
|
|
25459
|
+
// eslint-disable-next-line no-return-assign
|
|
25460
|
+
var hidePopover = function hidePopover() {
|
|
25461
|
+
return visiblePopover.value = false;
|
|
25462
|
+
};
|
|
25463
|
+
// eslint-disable-next-line no-return-assign
|
|
25464
|
+
var showPopover = function showPopover() {
|
|
25465
|
+
return visiblePopover.value = true;
|
|
25466
|
+
};
|
|
25467
|
+
var popover = {
|
|
25468
|
+
visiblePopover: visiblePopover,
|
|
25469
|
+
showPopover: showPopover,
|
|
25470
|
+
hidePopover: hidePopover
|
|
25471
|
+
};
|
|
25472
|
+
|
|
25473
|
+
// wrapNode
|
|
25474
|
+
var nodes = [{
|
|
25475
|
+
name: '条件分支',
|
|
25476
|
+
type: designer_NodeType.JUDGE_WRAP,
|
|
25477
|
+
icon: {
|
|
25478
|
+
type: 'apartment'
|
|
25479
|
+
},
|
|
25480
|
+
color: 'rgb(21, 188, 131)'
|
|
25481
|
+
}, {
|
|
25482
|
+
name: '并行分支',
|
|
25483
|
+
type: designer_NodeType.PARALLEL_WRAP,
|
|
25484
|
+
icon: {
|
|
25485
|
+
type: 'sliders'
|
|
25486
|
+
},
|
|
25487
|
+
color: 'rgb(113, 141, 255)'
|
|
25488
|
+
}];
|
|
25489
|
+
var wrapNode = function wrapNode(type) {
|
|
25490
|
+
nodeHandler.wrapNode(node.code, {
|
|
25491
|
+
type: type
|
|
25492
|
+
});
|
|
25493
|
+
};
|
|
25494
|
+
var wrapNodeR = {
|
|
25495
|
+
nodes: nodes,
|
|
25496
|
+
wrapNode: wrapNode
|
|
25497
|
+
};
|
|
25498
|
+
var noticeTemplateAttr = nodeHandler.isPreview ? null : nodeHandler.businessAdapter.eadApi.getCurrentViewSchema().model.attrs.find(function (attr) {
|
|
25499
|
+
return attr.name === 'notice_template';
|
|
25500
|
+
});
|
|
25501
|
+
return TaskNodevue_type_script_lang_js_objectSpread(TaskNodevue_type_script_lang_js_objectSpread(TaskNodevue_type_script_lang_js_objectSpread(TaskNodevue_type_script_lang_js_objectSpread({
|
|
25502
|
+
icon: icon
|
|
25503
|
+
}, drawer), popover), wrapNodeR), {}, {
|
|
25504
|
+
nodeRef: node,
|
|
25505
|
+
eadApi: eadApi,
|
|
25506
|
+
noticeTemplateAttr: noticeTemplateAttr
|
|
25507
|
+
});
|
|
25508
|
+
},
|
|
25509
|
+
computed: {
|
|
25510
|
+
isSingle: function isSingle() {
|
|
25511
|
+
if (this.nodeRef.data.actor_config.type === 'expression') {
|
|
25512
|
+
return this.nodeRef.data.actor_config.expression.length === 1 && this.nodeRef.data.actor_config.expression[0].type === 'uid' && this.nodeRef.data.actor_config.expression[0].user.length <= 1;
|
|
25513
|
+
}
|
|
25514
|
+
if (this.nodeRef.data.actor_config.type === 'sponsor') {
|
|
25515
|
+
return true;
|
|
25516
|
+
}
|
|
25517
|
+
return false;
|
|
25518
|
+
},
|
|
25519
|
+
availableBackStep: function availableBackStep() {
|
|
25520
|
+
var availableBackStep = this.nodeHandler.businessAdapter.getAvailableBackStep(this.node.code).map(function (node) {
|
|
25521
|
+
return {
|
|
25522
|
+
value: node.code,
|
|
25523
|
+
label: node.name
|
|
25524
|
+
};
|
|
25525
|
+
});
|
|
25526
|
+
// eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
|
|
25527
|
+
if (availableBackStep.length) {
|
|
25528
|
+
// eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
|
|
25529
|
+
this.node.data.back_node_id = availableBackStep[0].value;
|
|
25530
|
+
// eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
|
|
25531
|
+
this.node.data.custom_back_nodes = availableBackStep.map(function (o) {
|
|
25532
|
+
return o.value;
|
|
25533
|
+
});
|
|
25534
|
+
}
|
|
25535
|
+
return availableBackStep;
|
|
25536
|
+
},
|
|
25537
|
+
'nodeContent': function nodeContent() {
|
|
25538
|
+
var _this = this;
|
|
25539
|
+
if (this.nodeHandler.isPreview) {
|
|
25540
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler4;
|
|
25541
|
+
var html = '';
|
|
25542
|
+
if ((_this$nodeHandler = this.nodeHandler) !== null && _this$nodeHandler !== void 0 && (_this$nodeHandler = _this$nodeHandler.runtimeData) !== null && _this$nodeHandler !== void 0 && _this$nodeHandler.caseNodes && (_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2 = _this$nodeHandler2.runtimeData) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2 = _this$nodeHandler2.caseNodes[this.node.code]) !== null && _this$nodeHandler2 !== void 0 && _this$nodeHandler2.status) {
|
|
25543
|
+
var _this$nodeHandler3;
|
|
25544
|
+
var actors = (_this$nodeHandler3 = this.nodeHandler) === null || _this$nodeHandler3 === void 0 || (_this$nodeHandler3 = _this$nodeHandler3.runtimeData) === null || _this$nodeHandler3 === void 0 ? void 0 : _this$nodeHandler3.caseNodes[this.node.code].actors;
|
|
25545
|
+
actors.forEach(function (actor) {
|
|
25546
|
+
if (html) {
|
|
25547
|
+
html += '、';
|
|
25548
|
+
}
|
|
25549
|
+
html += "<span class=\"actor ".concat(actor.status, "\">").concat(actor.operator.name, "</span>");
|
|
25550
|
+
});
|
|
25551
|
+
if (!html) {
|
|
25552
|
+
html += ' ';
|
|
25553
|
+
}
|
|
25554
|
+
}
|
|
25555
|
+
if (((_this$nodeHandler4 = this.nodeHandler) === null || _this$nodeHandler4 === void 0 || (_this$nodeHandler4 = _this$nodeHandler4.runtimeData) === null || _this$nodeHandler4 === void 0 ? void 0 : _this$nodeHandler4.currentNodeCode) === this.nodeRef.code) {
|
|
25556
|
+
if (html && html !== ' ') {
|
|
25557
|
+
html += '、';
|
|
25558
|
+
}
|
|
25559
|
+
html += "<span class=\"actor pending\">".concat(this.eadApi.getCurrentUserName(), "</span>");
|
|
25560
|
+
}
|
|
25561
|
+
return html || this.nodeRef.content;
|
|
25562
|
+
}
|
|
25563
|
+
var actorConfig = this.node.data.actor_config;
|
|
25564
|
+
var content = '';
|
|
25565
|
+
if (!this.orgMap || !this.roles || !this.users) {
|
|
25566
|
+
return content;
|
|
25567
|
+
}
|
|
25568
|
+
if (actorConfig.type === 'expression') {
|
|
25569
|
+
var expression = actorConfig.expression;
|
|
25570
|
+
if (expression.length) {
|
|
25571
|
+
if (expression[0].type === 'org') {
|
|
25572
|
+
if (expression[0].orgId) {
|
|
25573
|
+
if (this.orgMap.has(expression[0].orgId)) {
|
|
25574
|
+
content = content += content ? '、' + this.orgMap.get(expression[0].orgId).org_name : this.orgMap.get(expression[0].orgId).org_name;
|
|
25575
|
+
} else {
|
|
25576
|
+
var _this$businessOrgData;
|
|
25577
|
+
var title = (_this$businessOrgData = this.businessOrgData.children.find(function (org0) {
|
|
25578
|
+
return org0.value === expression[0].orgId;
|
|
25579
|
+
})) === null || _this$businessOrgData === void 0 ? void 0 : _this$businessOrgData.title;
|
|
25580
|
+
content = content += content ? '、' + title : title;
|
|
25581
|
+
}
|
|
25582
|
+
}
|
|
25583
|
+
if (expression[0].roleId) {
|
|
25584
|
+
content = content += content ? '-' + this.roles.find(function (role) {
|
|
25585
|
+
return role.value === expression[0].roleId;
|
|
25586
|
+
}).label : this.roles.find(function (role) {
|
|
25587
|
+
return role.value === expression[0].roleId;
|
|
25588
|
+
}).label;
|
|
25589
|
+
}
|
|
25590
|
+
}
|
|
25591
|
+
if (expression[0].type === 'uid') {
|
|
25592
|
+
var busUser = this.businessUserData.map(function (user) {
|
|
25593
|
+
return user.value;
|
|
25594
|
+
});
|
|
25595
|
+
content = expression[0].user.map(function (item) {
|
|
25596
|
+
var label = busUser.includes(item) ? _this.businessUserData.find(function (user) {
|
|
25597
|
+
return user.value === item;
|
|
25598
|
+
}).label : _this.users.find(function (user) {
|
|
25599
|
+
return user.value === item;
|
|
25600
|
+
}).label;
|
|
25601
|
+
return label.substring(0, label.indexOf('('));
|
|
25602
|
+
}).join('、');
|
|
25603
|
+
}
|
|
25604
|
+
}
|
|
25605
|
+
if (expression.length > 1) {
|
|
25606
|
+
content += '...';
|
|
25607
|
+
}
|
|
25608
|
+
}
|
|
25609
|
+
if (actorConfig.type === 'sponsor') {
|
|
25610
|
+
content = '发起人自己';
|
|
25611
|
+
}
|
|
25612
|
+
// eslint-disable-next-line vue/no-side-effects-in-computed-properties
|
|
25613
|
+
this.nodeRef.content = content;
|
|
25614
|
+
return content;
|
|
25615
|
+
},
|
|
25616
|
+
'optionFormsRadio': function optionFormsRadio() {
|
|
25617
|
+
var optionForms = this.node.data.option_forms;
|
|
25618
|
+
if (!optionForms.length) {
|
|
25619
|
+
return '-';
|
|
25620
|
+
}
|
|
25621
|
+
var access = optionForms[0].access;
|
|
25622
|
+
if (optionForms.filter(function (value) {
|
|
25623
|
+
return value.access === access;
|
|
25624
|
+
}).length === optionForms.length) {
|
|
25625
|
+
return access;
|
|
25626
|
+
}
|
|
25627
|
+
return '-';
|
|
25628
|
+
},
|
|
25629
|
+
businessOrgData: function businessOrgData() {
|
|
25630
|
+
var children = [];
|
|
25631
|
+
var org = {
|
|
25632
|
+
title: '操作视图',
|
|
25633
|
+
// eslint-disable-next-line no-template-curly-in-string
|
|
25634
|
+
value: '${form_option_view}',
|
|
25635
|
+
// eslint-disable-next-line no-template-curly-in-string
|
|
25636
|
+
key: '${form_option_view}',
|
|
25637
|
+
disabled: true,
|
|
25638
|
+
children: children
|
|
25639
|
+
};
|
|
25640
|
+
if (!this.nodeRef.data.option_forms || !this.nodeRef.data.option_forms.length) {
|
|
25641
|
+
return org;
|
|
25642
|
+
}
|
|
25643
|
+
this.nodeRef.data.option_forms.forEach(function (attr) {
|
|
25644
|
+
children.push({
|
|
25645
|
+
title: attr.attrName,
|
|
25646
|
+
value: '${' + attr.attrCode + '}',
|
|
25647
|
+
key: '${' + attr.attrCode + '}',
|
|
25648
|
+
children: []
|
|
25649
|
+
});
|
|
25650
|
+
});
|
|
25651
|
+
return org;
|
|
25652
|
+
},
|
|
25653
|
+
businessUserData: function businessUserData() {
|
|
25654
|
+
var users = [];
|
|
25655
|
+
if (!this.nodeRef.data.option_forms || !this.nodeRef.data.option_forms.length) {
|
|
25656
|
+
return users;
|
|
25657
|
+
}
|
|
25658
|
+
this.nodeRef.data.option_forms.forEach(function (attr) {
|
|
25659
|
+
users.push({
|
|
25660
|
+
label: attr.attrName + '(操作视图)',
|
|
25661
|
+
title: attr.attrName + '(操作视图)',
|
|
25662
|
+
value: '${' + attr.attrCode + '}',
|
|
25663
|
+
key: attr.attrName + '-' + attr.attrCode + '(操作视图)',
|
|
25664
|
+
children: []
|
|
25665
|
+
});
|
|
25666
|
+
});
|
|
25667
|
+
return users;
|
|
25668
|
+
}
|
|
25669
|
+
},
|
|
25670
|
+
methods: {
|
|
25671
|
+
filterDataset: function filterDataset(filter, dataset, datasetKeys) {
|
|
25672
|
+
var _this2 = this;
|
|
25673
|
+
if (!filter) {
|
|
25674
|
+
return dataset.filter(function (o) {
|
|
25675
|
+
return _this2.formsColumnAccess === 'all' || _this2.formsColumnAccess.indexOf(o.access.toString()) !== -1;
|
|
25676
|
+
});
|
|
25677
|
+
}
|
|
25678
|
+
return dataset.filter(function (o) {
|
|
25679
|
+
var _iterator = TaskNodevue_type_script_lang_js_createForOfIteratorHelper(datasetKeys),
|
|
23614
25680
|
_step;
|
|
23615
25681
|
try {
|
|
23616
25682
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -23630,26 +25696,55 @@ function CCNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != CCNod
|
|
|
23630
25696
|
});
|
|
23631
25697
|
},
|
|
23632
25698
|
getClass: function getClass() {
|
|
23633
|
-
var _this$
|
|
25699
|
+
var _this$nodeHandler5, _this$nodeHandler6, _this$nodeHandler7;
|
|
23634
25700
|
var classes = '';
|
|
23635
25701
|
if (this.node.error) {
|
|
23636
25702
|
classes += ' error';
|
|
23637
25703
|
}
|
|
23638
|
-
if (((_this$
|
|
25704
|
+
if (((_this$nodeHandler5 = this.nodeHandler) === null || _this$nodeHandler5 === void 0 || (_this$nodeHandler5 = _this$nodeHandler5.runtimeData) === null || _this$nodeHandler5 === void 0 ? void 0 : _this$nodeHandler5.currentNodeCode) === this.node.code) {
|
|
23639
25705
|
classes += ' ongoing';
|
|
23640
|
-
} else if ((_this$
|
|
25706
|
+
} else if ((_this$nodeHandler6 = this.nodeHandler) !== null && _this$nodeHandler6 !== void 0 && (_this$nodeHandler6 = _this$nodeHandler6.runtimeData) !== null && _this$nodeHandler6 !== void 0 && _this$nodeHandler6.caseNodes && (_this$nodeHandler7 = this.nodeHandler) !== null && _this$nodeHandler7 !== void 0 && (_this$nodeHandler7 = _this$nodeHandler7.runtimeData) !== null && _this$nodeHandler7 !== void 0 && (_this$nodeHandler7 = _this$nodeHandler7.caseNodes[this.node.code]) !== null && _this$nodeHandler7 !== void 0 && _this$nodeHandler7.status) {
|
|
23641
25707
|
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
23642
25708
|
}
|
|
23643
25709
|
return classes;
|
|
23644
25710
|
},
|
|
25711
|
+
filterUser: function filterUser(input, _ref2) {
|
|
25712
|
+
var data = _ref2.data;
|
|
25713
|
+
return data.key.indexOf(input) !== -1;
|
|
25714
|
+
},
|
|
23645
25715
|
/**
|
|
23646
25716
|
*
|
|
23647
25717
|
* @param node {NodeItem}
|
|
23648
25718
|
*/
|
|
23649
25719
|
loadCache: function loadCache(node) {
|
|
23650
|
-
var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2;
|
|
25720
|
+
var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2, _node$data$eadCache$w3, _node$data3;
|
|
23651
25721
|
this.optionViewType = (_node$data$eadCache$w = (_node$data = node.data) === null || _node$data === void 0 || (_node$data = _node$data.eadCache) === null || _node$data === void 0 || (_node$data = _node$data.workflow) === null || _node$data === void 0 ? void 0 : _node$data.optionViewType) !== null && _node$data$eadCache$w !== void 0 ? _node$data$eadCache$w : this.optionViewType;
|
|
23652
25722
|
this.optionViewList = (_node$data$eadCache$w2 = (_node$data2 = node.data) === null || _node$data2 === void 0 || (_node$data2 = _node$data2.eadCache) === null || _node$data2 === void 0 || (_node$data2 = _node$data2.workflow) === null || _node$data2 === void 0 ? void 0 : _node$data2.optionViewList) !== null && _node$data$eadCache$w2 !== void 0 ? _node$data$eadCache$w2 : this.optionViewList;
|
|
25723
|
+
this.driverList = (_node$data$eadCache$w3 = (_node$data3 = node.data) === null || _node$data3 === void 0 || (_node$data3 = _node$data3.eadCache) === null || _node$data3 === void 0 || (_node$data3 = _node$data3.workflow) === null || _node$data3 === void 0 ? void 0 : _node$data3.driverList) !== null && _node$data$eadCache$w3 !== void 0 ? _node$data$eadCache$w3 : this.driverList;
|
|
25724
|
+
},
|
|
25725
|
+
handleDriverChange: function handleDriverChange(a, s) {},
|
|
25726
|
+
handleDriverSearch: function handleDriverSearch(s) {
|
|
25727
|
+
var _this3 = this;
|
|
25728
|
+
if (this.driverTimeout) {
|
|
25729
|
+
clearTimeout(this.driverTimeout);
|
|
25730
|
+
this.driverTimeout = null;
|
|
25731
|
+
}
|
|
25732
|
+
var go = function go() {
|
|
25733
|
+
if (!s) {
|
|
25734
|
+
return;
|
|
25735
|
+
}
|
|
25736
|
+
_this3.eadApi.getDrivers(s).then(function (value) {
|
|
25737
|
+
_this3.driverList = value.map(function (item) {
|
|
25738
|
+
return {
|
|
25739
|
+
value: item.driver_id,
|
|
25740
|
+
label: item.driver_name,
|
|
25741
|
+
title: item.driver_name
|
|
25742
|
+
};
|
|
25743
|
+
});
|
|
25744
|
+
_this3.nodeRef.data.eadCache.workflow.driverList = _this3.driverList;
|
|
25745
|
+
});
|
|
25746
|
+
};
|
|
25747
|
+
this.driverTimeout = setTimeout(go, 300);
|
|
23653
25748
|
},
|
|
23654
25749
|
hasExpression: function hasExpression(item) {
|
|
23655
25750
|
if (item.type === 'uid') {
|
|
@@ -23668,35 +25763,46 @@ function CCNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != CCNod
|
|
|
23668
25763
|
});
|
|
23669
25764
|
},
|
|
23670
25765
|
optionViewChange: function optionViewChange(id) {
|
|
23671
|
-
var
|
|
23672
|
-
return
|
|
23673
|
-
return
|
|
25766
|
+
var _this4 = this;
|
|
25767
|
+
return TaskNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/TaskNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
25768
|
+
return TaskNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
23674
25769
|
while (1) switch (_context.prev = _context.next) {
|
|
23675
25770
|
case 0:
|
|
23676
|
-
|
|
23677
|
-
|
|
23678
|
-
|
|
25771
|
+
_this4.formsColumnFilter = undefined;
|
|
25772
|
+
if (_this4.optionViewId) {
|
|
25773
|
+
_this4.optionFormsCache[_this4.optionViewId] = _this4.nodeRef.data.option_forms;
|
|
25774
|
+
}
|
|
25775
|
+
_this4.optionViewId = id;
|
|
25776
|
+
_this4.nodeRef.data.eadCache.workflow.optionViewList = [_this4.optionViewList.find(function (item) {
|
|
23679
25777
|
return item.value === id;
|
|
23680
25778
|
})];
|
|
23681
|
-
|
|
23682
|
-
_context.next =
|
|
23683
|
-
return
|
|
23684
|
-
case
|
|
23685
|
-
|
|
25779
|
+
_this4.viewAttrLoading = true;
|
|
25780
|
+
_context.next = 7;
|
|
25781
|
+
return _this4.eadApi.getViewAttrs(id);
|
|
25782
|
+
case 7:
|
|
25783
|
+
_this4.nodeRef.data.option_forms = _context.sent.filter(function (attr) {
|
|
23686
25784
|
return attr.type === 'value' && attr.access !== 'none';
|
|
23687
25785
|
}).filter(function (attr) {
|
|
23688
25786
|
return attr.key_type !== 'primary';
|
|
23689
25787
|
}).map(function (attr) {
|
|
25788
|
+
var _this4$optionFormsCac, _cache$access, _ref3;
|
|
25789
|
+
var cache = (_this4$optionFormsCac = _this4.optionFormsCache[id]) === null || _this4$optionFormsCac === void 0 ? void 0 : _this4$optionFormsCac.find(function (attr0) {
|
|
25790
|
+
return attr0.attrId === attr.id;
|
|
25791
|
+
});
|
|
25792
|
+
var access = (_cache$access = cache === null || cache === void 0 ? void 0 : cache.access) !== null && _cache$access !== void 0 ? _cache$access : 'none';
|
|
25793
|
+
attr.required = (_ref3 = (cache === null || cache === void 0 ? void 0 : cache.access) === 'write') !== null && _ref3 !== void 0 ? _ref3 : attr.required;
|
|
23690
25794
|
return {
|
|
23691
25795
|
attrId: attr.id,
|
|
23692
25796
|
attrName: attr.alias,
|
|
23693
25797
|
attrCode: attr.name,
|
|
23694
|
-
access:
|
|
25798
|
+
access: access,
|
|
23695
25799
|
required: attr.required
|
|
23696
25800
|
};
|
|
23697
25801
|
});
|
|
23698
|
-
|
|
23699
|
-
|
|
25802
|
+
_this4.$nextTick(function () {
|
|
25803
|
+
_this4.viewAttrLoading = false;
|
|
25804
|
+
});
|
|
25805
|
+
case 9:
|
|
23700
25806
|
case "end":
|
|
23701
25807
|
return _context.stop();
|
|
23702
25808
|
}
|
|
@@ -23704,17 +25810,17 @@ function CCNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != CCNod
|
|
|
23704
25810
|
}))();
|
|
23705
25811
|
},
|
|
23706
25812
|
'optionViewSearch': function optionViewSearch(s) {
|
|
23707
|
-
var
|
|
23708
|
-
if (this.
|
|
23709
|
-
clearTimeout(this.
|
|
23710
|
-
this.
|
|
25813
|
+
var _this5 = this;
|
|
25814
|
+
if (this.viewNameTimeout) {
|
|
25815
|
+
clearTimeout(this.viewNameTimeout);
|
|
25816
|
+
this.viewNameTimeout = null;
|
|
23711
25817
|
}
|
|
23712
25818
|
var go = function go() {
|
|
23713
25819
|
if (!s) {
|
|
23714
25820
|
return;
|
|
23715
25821
|
}
|
|
23716
|
-
|
|
23717
|
-
|
|
25822
|
+
_this5.eadApi.getViews(s).then(function (value) {
|
|
25823
|
+
_this5.optionViewList = value.map(function (item) {
|
|
23718
25824
|
return {
|
|
23719
25825
|
value: item.view_id,
|
|
23720
25826
|
text: item.view_name
|
|
@@ -23722,44 +25828,55 @@ function CCNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != CCNod
|
|
|
23722
25828
|
});
|
|
23723
25829
|
});
|
|
23724
25830
|
};
|
|
23725
|
-
this.
|
|
25831
|
+
this.viewNameTimeout = setTimeout(go, 300);
|
|
23726
25832
|
},
|
|
23727
|
-
'changeViewType': function changeViewType(
|
|
23728
|
-
var
|
|
23729
|
-
return
|
|
25833
|
+
'changeViewType': function changeViewType(_ref4) {
|
|
25834
|
+
var _this6 = this;
|
|
25835
|
+
return TaskNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/TaskNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
23730
25836
|
var target, type;
|
|
23731
|
-
return
|
|
25837
|
+
return TaskNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
23732
25838
|
while (1) switch (_context2.prev = _context2.next) {
|
|
23733
25839
|
case 0:
|
|
23734
|
-
target =
|
|
25840
|
+
target = _ref4.target;
|
|
23735
25841
|
type = target.value;
|
|
23736
|
-
|
|
25842
|
+
_this6.nodeRef.data.eadCache.workflow.optionViewType = type;
|
|
25843
|
+
if (type === 'custom') {
|
|
25844
|
+
_this6.optionFormsCache[_this6.eadApi.getValues().option_view_id] = _this6.nodeRef.data.option_forms;
|
|
25845
|
+
}
|
|
23737
25846
|
if (!(type === 'use_model')) {
|
|
23738
|
-
_context2.next =
|
|
25847
|
+
_context2.next = 13;
|
|
23739
25848
|
break;
|
|
23740
25849
|
}
|
|
23741
|
-
|
|
23742
|
-
|
|
23743
|
-
|
|
23744
|
-
|
|
23745
|
-
|
|
23746
|
-
|
|
25850
|
+
if (_this6.optionViewId) {
|
|
25851
|
+
_this6.optionFormsCache[_this6.optionViewId] = _this6.nodeRef.data.option_forms;
|
|
25852
|
+
}
|
|
25853
|
+
_this6.optionViewId = null;
|
|
25854
|
+
_this6.nodeRef.data.option_view_id = undefined;
|
|
25855
|
+
_this6.viewAttrLoading = true;
|
|
25856
|
+
_context2.next = 11;
|
|
25857
|
+
return _this6.eadApi.getViewAttrs(_this6.eadApi.getValues().option_view_id);
|
|
25858
|
+
case 11:
|
|
25859
|
+
_this6.nodeRef.data.option_forms = _context2.sent.filter(function (attr) {
|
|
23747
25860
|
return attr.type === 'value' && attr.access !== 'none';
|
|
23748
25861
|
}).filter(function (attr) {
|
|
23749
25862
|
return attr.key_type !== 'primary';
|
|
23750
25863
|
}).map(function (attr) {
|
|
25864
|
+
var _this6$optionFormsCac, _cache$access2, _ref5;
|
|
25865
|
+
var cache = (_this6$optionFormsCac = _this6.optionFormsCache[_this6.eadApi.getValues().option_view_id]) === null || _this6$optionFormsCac === void 0 ? void 0 : _this6$optionFormsCac.find(function (attr0) {
|
|
25866
|
+
return attr0.attrId === attr.id;
|
|
25867
|
+
});
|
|
25868
|
+
var access = (_cache$access2 = cache === null || cache === void 0 ? void 0 : cache.access) !== null && _cache$access2 !== void 0 ? _cache$access2 : 'none';
|
|
25869
|
+
attr.required = (_ref5 = (cache === null || cache === void 0 ? void 0 : cache.access) === 'write') !== null && _ref5 !== void 0 ? _ref5 : attr.required;
|
|
23751
25870
|
return {
|
|
23752
25871
|
attrId: attr.id,
|
|
23753
25872
|
attrName: attr.alias,
|
|
23754
25873
|
attrCode: attr.name,
|
|
23755
|
-
access:
|
|
25874
|
+
access: access,
|
|
23756
25875
|
required: attr.required
|
|
23757
25876
|
};
|
|
23758
25877
|
});
|
|
23759
|
-
|
|
23760
|
-
|
|
23761
|
-
});
|
|
23762
|
-
case 10:
|
|
25878
|
+
_this6.viewAttrLoading = false;
|
|
25879
|
+
case 13:
|
|
23763
25880
|
case "end":
|
|
23764
25881
|
return _context2.stop();
|
|
23765
25882
|
}
|
|
@@ -23767,12 +25884,12 @@ function CCNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != CCNod
|
|
|
23767
25884
|
}))();
|
|
23768
25885
|
},
|
|
23769
25886
|
hideDrawer: function hideDrawer() {
|
|
23770
|
-
var
|
|
25887
|
+
var _this7 = this;
|
|
23771
25888
|
var vaildR = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(true);
|
|
23772
25889
|
this.$refs.nameForm.validate(function (valid) {
|
|
23773
25890
|
if (!valid) {
|
|
23774
25891
|
vaildR.value = false;
|
|
23775
|
-
|
|
25892
|
+
_this7.$message.error('节点名称校验不通过');
|
|
23776
25893
|
}
|
|
23777
25894
|
});
|
|
23778
25895
|
|
|
@@ -23781,12 +25898,14 @@ function CCNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != CCNod
|
|
|
23781
25898
|
this.visibleDrawer = false;
|
|
23782
25899
|
}
|
|
23783
25900
|
},
|
|
23784
|
-
changeTags: function changeTags(a) {
|
|
25901
|
+
changeTags: function changeTags(a) {
|
|
25902
|
+
// console.log(a)
|
|
25903
|
+
},
|
|
23785
25904
|
showEditName: function showEditName() {
|
|
23786
|
-
var
|
|
25905
|
+
var _this8 = this;
|
|
23787
25906
|
this.editName = true;
|
|
23788
25907
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () {
|
|
23789
|
-
|
|
25908
|
+
_this8.$refs.nameInput.focus();
|
|
23790
25909
|
});
|
|
23791
25910
|
},
|
|
23792
25911
|
close: function close() {
|
|
@@ -23803,25 +25922,27 @@ function CCNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != CCNod
|
|
|
23803
25922
|
this.showPopover();
|
|
23804
25923
|
}
|
|
23805
25924
|
},
|
|
23806
|
-
|
|
23807
|
-
|
|
23808
|
-
|
|
23809
|
-
|
|
23810
|
-
|
|
23811
|
-
|
|
25925
|
+
created: function created() {
|
|
25926
|
+
this.loadCache(this.nodeRef);
|
|
25927
|
+
},
|
|
25928
|
+
mounted: function () {
|
|
25929
|
+
var _mounted = TaskNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/TaskNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
25930
|
+
var _this$nodeRef$data$op;
|
|
25931
|
+
var _yield$this$nodeHandl, viewAttrs, orgMap, orgData, roles, users;
|
|
25932
|
+
return TaskNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
23812
25933
|
while (1) switch (_context3.prev = _context3.next) {
|
|
23813
25934
|
case 0:
|
|
23814
25935
|
_context3.next = 2;
|
|
23815
|
-
return
|
|
25936
|
+
return this.nodeHandler.businessAdapter.getActorData();
|
|
23816
25937
|
case 2:
|
|
23817
|
-
_yield$
|
|
23818
|
-
viewAttrs = _yield$
|
|
23819
|
-
orgMap = _yield$
|
|
23820
|
-
orgData = _yield$
|
|
23821
|
-
roles = _yield$
|
|
23822
|
-
users = _yield$
|
|
23823
|
-
if (!((
|
|
23824
|
-
|
|
25938
|
+
_yield$this$nodeHandl = _context3.sent;
|
|
25939
|
+
viewAttrs = _yield$this$nodeHandl.viewAttrs;
|
|
25940
|
+
orgMap = _yield$this$nodeHandl.orgMap;
|
|
25941
|
+
orgData = _yield$this$nodeHandl.orgData;
|
|
25942
|
+
roles = _yield$this$nodeHandl.roles;
|
|
25943
|
+
users = _yield$this$nodeHandl.users;
|
|
25944
|
+
if (!((_this$nodeRef$data$op = this.nodeRef.data.option_forms) !== null && _this$nodeRef$data$op !== void 0 && _this$nodeRef$data$op.length)) {
|
|
25945
|
+
this.nodeRef.data.option_forms = viewAttrs.filter(function (attr) {
|
|
23825
25946
|
return attr.type === 'value' && attr.access !== 'none';
|
|
23826
25947
|
}).filter(function (attr) {
|
|
23827
25948
|
return attr.key_type !== 'primary';
|
|
@@ -23835,25 +25956,29 @@ function CCNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != CCNod
|
|
|
23835
25956
|
};
|
|
23836
25957
|
});
|
|
23837
25958
|
}
|
|
23838
|
-
|
|
23839
|
-
|
|
23840
|
-
|
|
23841
|
-
|
|
23842
|
-
|
|
25959
|
+
this.viewAttrLoading = false;
|
|
25960
|
+
this.orgMap = orgMap;
|
|
25961
|
+
this.orgData = orgData;
|
|
25962
|
+
this.roles = roles;
|
|
25963
|
+
this.users = users;
|
|
23843
25964
|
case 14:
|
|
23844
25965
|
case "end":
|
|
23845
25966
|
return _context3.stop();
|
|
23846
25967
|
}
|
|
23847
|
-
}, _callee3);
|
|
23848
|
-
}))
|
|
23849
|
-
|
|
25968
|
+
}, _callee3, this);
|
|
25969
|
+
}));
|
|
25970
|
+
function mounted() {
|
|
25971
|
+
return _mounted.apply(this, arguments);
|
|
25972
|
+
}
|
|
25973
|
+
return mounted;
|
|
25974
|
+
}()
|
|
23850
25975
|
});
|
|
23851
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/
|
|
23852
|
-
/* harmony default export */ var
|
|
23853
|
-
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/
|
|
23854
|
-
var
|
|
25976
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=script&lang=js
|
|
25977
|
+
/* harmony default export */ var node_TaskNodevue_type_script_lang_js = (TaskNodevue_type_script_lang_js);
|
|
25978
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=style&index=0&id=71cd8e14&prod&lang=less&scoped=true
|
|
25979
|
+
var TaskNodevue_type_style_index_0_id_71cd8e14_prod_lang_less_scoped_true = __webpack_require__("7a33");
|
|
23855
25980
|
|
|
23856
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/
|
|
25981
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue
|
|
23857
25982
|
|
|
23858
25983
|
|
|
23859
25984
|
|
|
@@ -23862,18 +25987,18 @@ var CCNodevue_type_style_index_0_id_0743a454_prod_lang_less_scoped_true = __webp
|
|
|
23862
25987
|
|
|
23863
25988
|
/* normalize component */
|
|
23864
25989
|
|
|
23865
|
-
var
|
|
23866
|
-
|
|
23867
|
-
|
|
23868
|
-
|
|
25990
|
+
var TaskNode_component = normalizeComponent(
|
|
25991
|
+
node_TaskNodevue_type_script_lang_js,
|
|
25992
|
+
TaskNodevue_type_template_id_71cd8e14_scoped_true_render,
|
|
25993
|
+
TaskNodevue_type_template_id_71cd8e14_scoped_true_staticRenderFns,
|
|
23869
25994
|
false,
|
|
23870
25995
|
null,
|
|
23871
|
-
"
|
|
25996
|
+
"71cd8e14",
|
|
23872
25997
|
null
|
|
23873
25998
|
|
|
23874
25999
|
)
|
|
23875
26000
|
|
|
23876
|
-
/* harmony default export */ var
|
|
26001
|
+
/* harmony default export */ var TaskNode = (TaskNode_component.exports);
|
|
23877
26002
|
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/TriggerNode.vue?vue&type=template&id=7af4eb1a&scoped=true
|
|
23878
26003
|
var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render = function render() {
|
|
23879
26004
|
var _vm = this,
|
|
@@ -24886,6 +27011,7 @@ var DelayNode_component = normalizeComponent(
|
|
|
24886
27011
|
|
|
24887
27012
|
|
|
24888
27013
|
|
|
27014
|
+
|
|
24889
27015
|
/* harmony default export */ var designer_node = ({
|
|
24890
27016
|
EndNode: EndNode,
|
|
24891
27017
|
StartNode: StartNode,
|
|
@@ -24895,11 +27021,12 @@ var DelayNode_component = normalizeComponent(
|
|
|
24895
27021
|
JudgeNode: JudgeNode,
|
|
24896
27022
|
JudgeWrapNode: JudgeWrapNode,
|
|
24897
27023
|
CCNode: CCNode,
|
|
27024
|
+
TaskNode: TaskNode,
|
|
24898
27025
|
TriggerNode: TriggerNode,
|
|
24899
27026
|
DelayNode: DelayNode
|
|
24900
27027
|
});
|
|
24901
|
-
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=
|
|
24902
|
-
var
|
|
27028
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=2139642c&scoped=true
|
|
27029
|
+
var AddNodevue_type_template_id_2139642c_scoped_true_render = function render() {
|
|
24903
27030
|
var _vm = this,
|
|
24904
27031
|
_c = _vm._self._c;
|
|
24905
27032
|
return _c('div', {
|
|
@@ -24970,9 +27097,9 @@ var AddNodevue_type_template_id_14eb0ec0_scoped_true_render = function render()
|
|
|
24970
27097
|
}
|
|
24971
27098
|
}) : _vm._e()], 1)], 1)])]);
|
|
24972
27099
|
};
|
|
24973
|
-
var
|
|
27100
|
+
var AddNodevue_type_template_id_2139642c_scoped_true_staticRenderFns = [];
|
|
24974
27101
|
|
|
24975
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=
|
|
27102
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=2139642c&scoped=true
|
|
24976
27103
|
|
|
24977
27104
|
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/AddNode.vue?vue&type=script&lang=js
|
|
24978
27105
|
|
|
@@ -25020,6 +27147,13 @@ var AddNodevue_type_template_id_14eb0ec0_scoped_true_staticRenderFns = [];
|
|
|
25020
27147
|
type: 'mail'
|
|
25021
27148
|
},
|
|
25022
27149
|
color: 'rgb(50, 150, 250)'
|
|
27150
|
+
}, {
|
|
27151
|
+
name: '执行人',
|
|
27152
|
+
type: designer_NodeType.TASK,
|
|
27153
|
+
icon: {
|
|
27154
|
+
type: 'tool'
|
|
27155
|
+
},
|
|
27156
|
+
color: 'rgb(130, 59, 197)'
|
|
25023
27157
|
}, {
|
|
25024
27158
|
name: '触发器',
|
|
25025
27159
|
type: designer_NodeType.TRIGGER,
|
|
@@ -25027,15 +27161,15 @@ var AddNodevue_type_template_id_14eb0ec0_scoped_true_staticRenderFns = [];
|
|
|
25027
27161
|
type: 'control'
|
|
25028
27162
|
},
|
|
25029
27163
|
color: 'rgb(53, 184, 129)'
|
|
25030
|
-
},
|
|
25031
|
-
|
|
25032
|
-
|
|
25033
|
-
|
|
25034
|
-
|
|
25035
|
-
|
|
25036
|
-
|
|
25037
|
-
|
|
25038
|
-
|
|
27164
|
+
},
|
|
27165
|
+
// {
|
|
27166
|
+
// disabled: true,
|
|
27167
|
+
// name: '延迟等待',
|
|
27168
|
+
// type: NodeType.DELAY,
|
|
27169
|
+
// icon: { type: 'clock-circle' },
|
|
27170
|
+
// color: 'rgb(219,86,69)'
|
|
27171
|
+
// },
|
|
27172
|
+
{
|
|
25039
27173
|
name: '条件分支',
|
|
25040
27174
|
type: designer_NodeType.JUDGE_WRAP,
|
|
25041
27175
|
icon: {
|
|
@@ -25083,11 +27217,11 @@ var AddNodevue_type_custom_index_0_blockType_a_icon_default = /*#__PURE__*/__web
|
|
|
25083
27217
|
|
|
25084
27218
|
var AddNode_component = normalizeComponent(
|
|
25085
27219
|
designer_AddNodevue_type_script_lang_js,
|
|
25086
|
-
|
|
25087
|
-
|
|
27220
|
+
AddNodevue_type_template_id_2139642c_scoped_true_render,
|
|
27221
|
+
AddNodevue_type_template_id_2139642c_scoped_true_staticRenderFns,
|
|
25088
27222
|
false,
|
|
25089
27223
|
null,
|
|
25090
|
-
"
|
|
27224
|
+
"2139642c",
|
|
25091
27225
|
null
|
|
25092
27226
|
|
|
25093
27227
|
)
|
|
@@ -28087,7 +30221,7 @@ var nodeStyle = __webpack_require__("1f51");
|
|
|
28087
30221
|
|
|
28088
30222
|
|
|
28089
30223
|
|
|
28090
|
-
|
|
30224
|
+
// import PickerSelectViewForm from './PickerSelectView'
|
|
28091
30225
|
|
|
28092
30226
|
|
|
28093
30227
|
// 新 workflow
|
|
@@ -28101,7 +30235,7 @@ var nodeStyle = __webpack_require__("1f51");
|
|
|
28101
30235
|
AlgorithmForm: Algorithm,
|
|
28102
30236
|
PickerTransferForm: PickerTransfer,
|
|
28103
30237
|
PickerTreeForm: PickerTree,
|
|
28104
|
-
PickerSelectViewForm
|
|
30238
|
+
// PickerSelectViewForm,
|
|
28105
30239
|
WorkflowReport: WorkflowReport,
|
|
28106
30240
|
WorkflowDesigner: WorkFlowDesigner,
|
|
28107
30241
|
RuntimeWorkflow: RuntimeWorkFlow
|
|
@@ -29450,6 +31584,24 @@ var variable = __webpack_require__("aa23");
|
|
|
29450
31584
|
|
|
29451
31585
|
|
|
29452
31586
|
|
|
31587
|
+
/***/ }),
|
|
31588
|
+
|
|
31589
|
+
/***/ "1bf9":
|
|
31590
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
31591
|
+
|
|
31592
|
+
"use strict";
|
|
31593
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModelProfile_vue_vue_type_style_index_0_id_614670ae_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d0dd");
|
|
31594
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModelProfile_vue_vue_type_style_index_0_id_614670ae_prod_lang_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModelProfile_vue_vue_type_style_index_0_id_614670ae_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__);
|
|
31595
|
+
/* unused harmony reexport * */
|
|
31596
|
+
|
|
31597
|
+
|
|
31598
|
+
/***/ }),
|
|
31599
|
+
|
|
31600
|
+
/***/ "1d3f":
|
|
31601
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
31602
|
+
|
|
31603
|
+
// extracted by mini-css-extract-plugin
|
|
31604
|
+
|
|
29453
31605
|
/***/ }),
|
|
29454
31606
|
|
|
29455
31607
|
/***/ "1f44":
|
|
@@ -30603,6 +32755,17 @@ module.exports = require("@antv/g6");
|
|
|
30603
32755
|
|
|
30604
32756
|
// extracted by mini-css-extract-plugin
|
|
30605
32757
|
|
|
32758
|
+
/***/ }),
|
|
32759
|
+
|
|
32760
|
+
/***/ "45db":
|
|
32761
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
32762
|
+
|
|
32763
|
+
"use strict";
|
|
32764
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModelList_vue_vue_type_style_index_0_id_9f3215ac_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("93bb");
|
|
32765
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModelList_vue_vue_type_style_index_0_id_9f3215ac_prod_lang_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModelList_vue_vue_type_style_index_0_id_9f3215ac_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__);
|
|
32766
|
+
/* unused harmony reexport * */
|
|
32767
|
+
|
|
32768
|
+
|
|
30606
32769
|
/***/ }),
|
|
30607
32770
|
|
|
30608
32771
|
/***/ "4927":
|
|
@@ -31152,13 +33315,6 @@ module.exports = require("vue-amap");
|
|
|
31152
33315
|
|
|
31153
33316
|
/***/ }),
|
|
31154
33317
|
|
|
31155
|
-
/***/ "6029":
|
|
31156
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
31157
|
-
|
|
31158
|
-
// extracted by mini-css-extract-plugin
|
|
31159
|
-
|
|
31160
|
-
/***/ }),
|
|
31161
|
-
|
|
31162
33318
|
/***/ "6389":
|
|
31163
33319
|
/***/ (function(module, exports) {
|
|
31164
33320
|
|
|
@@ -31749,13 +33905,6 @@ module.exports = require("vue-router");
|
|
|
31749
33905
|
|
|
31750
33906
|
/***/ }),
|
|
31751
33907
|
|
|
31752
|
-
/***/ "7552":
|
|
31753
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
31754
|
-
|
|
31755
|
-
// extracted by mini-css-extract-plugin
|
|
31756
|
-
|
|
31757
|
-
/***/ }),
|
|
31758
|
-
|
|
31759
33908
|
/***/ "7826":
|
|
31760
33909
|
/***/ (function(module, exports, __webpack_require__) {
|
|
31761
33910
|
|
|
@@ -43339,6 +45488,17 @@ module.exports = __webpack_require__(63);
|
|
|
43339
45488
|
|
|
43340
45489
|
module.exports = require("qs");
|
|
43341
45490
|
|
|
45491
|
+
/***/ }),
|
|
45492
|
+
|
|
45493
|
+
/***/ "7a33":
|
|
45494
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45495
|
+
|
|
45496
|
+
"use strict";
|
|
45497
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TaskNode_vue_vue_type_style_index_0_id_71cd8e14_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b483");
|
|
45498
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TaskNode_vue_vue_type_style_index_0_id_71cd8e14_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TaskNode_vue_vue_type_style_index_0_id_71cd8e14_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
45499
|
+
/* unused harmony reexport * */
|
|
45500
|
+
|
|
45501
|
+
|
|
43342
45502
|
/***/ }),
|
|
43343
45503
|
|
|
43344
45504
|
/***/ "7e40":
|
|
@@ -43503,6 +45663,13 @@ module.exports = Array.isArray || function (arr) {
|
|
|
43503
45663
|
|
|
43504
45664
|
/***/ }),
|
|
43505
45665
|
|
|
45666
|
+
/***/ "93bb":
|
|
45667
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
45668
|
+
|
|
45669
|
+
// extracted by mini-css-extract-plugin
|
|
45670
|
+
|
|
45671
|
+
/***/ }),
|
|
45672
|
+
|
|
43506
45673
|
/***/ "9897":
|
|
43507
45674
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
43508
45675
|
|
|
@@ -45049,6 +47216,13 @@ module.exports = g;
|
|
|
45049
47216
|
|
|
45050
47217
|
/***/ }),
|
|
45051
47218
|
|
|
47219
|
+
/***/ "b483":
|
|
47220
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
47221
|
+
|
|
47222
|
+
// extracted by mini-css-extract-plugin
|
|
47223
|
+
|
|
47224
|
+
/***/ }),
|
|
47225
|
+
|
|
45052
47226
|
/***/ "b69c":
|
|
45053
47227
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45054
47228
|
|
|
@@ -45974,17 +48148,6 @@ module.exports = require("moment");
|
|
|
45974
48148
|
|
|
45975
48149
|
// extracted by mini-css-extract-plugin
|
|
45976
48150
|
|
|
45977
|
-
/***/ }),
|
|
45978
|
-
|
|
45979
|
-
/***/ "cbe9":
|
|
45980
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45981
|
-
|
|
45982
|
-
"use strict";
|
|
45983
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModelList_vue_vue_type_style_index_0_id_c550d45a_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1898");
|
|
45984
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModelList_vue_vue_type_style_index_0_id_c550d45a_prod_lang_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModelList_vue_vue_type_style_index_0_id_c550d45a_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__);
|
|
45985
|
-
/* unused harmony reexport * */
|
|
45986
|
-
|
|
45987
|
-
|
|
45988
48151
|
/***/ }),
|
|
45989
48152
|
|
|
45990
48153
|
/***/ "ce44":
|
|
@@ -47799,6 +49962,13 @@ module.exports = require("axios");
|
|
|
47799
49962
|
|
|
47800
49963
|
/***/ }),
|
|
47801
49964
|
|
|
49965
|
+
/***/ "d0dd":
|
|
49966
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
49967
|
+
|
|
49968
|
+
// extracted by mini-css-extract-plugin
|
|
49969
|
+
|
|
49970
|
+
/***/ }),
|
|
49971
|
+
|
|
47802
49972
|
/***/ "d149":
|
|
47803
49973
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
47804
49974
|
|
|
@@ -49285,17 +51455,6 @@ module.exports = require("vuex/dist/logger");
|
|
|
49285
51455
|
|
|
49286
51456
|
// extracted by mini-css-extract-plugin
|
|
49287
51457
|
|
|
49288
|
-
/***/ }),
|
|
49289
|
-
|
|
49290
|
-
/***/ "f2fb":
|
|
49291
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
49292
|
-
|
|
49293
|
-
"use strict";
|
|
49294
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CheckNode_vue_vue_type_style_index_0_id_14b216a6_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6029");
|
|
49295
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CheckNode_vue_vue_type_style_index_0_id_14b216a6_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CheckNode_vue_vue_type_style_index_0_id_14b216a6_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
49296
|
-
/* unused harmony reexport * */
|
|
49297
|
-
|
|
49298
|
-
|
|
49299
51458
|
/***/ }),
|
|
49300
51459
|
|
|
49301
51460
|
/***/ "f39c":
|
|
@@ -49591,17 +51750,6 @@ module.exports = require("vuex/dist/logger");
|
|
|
49591
51750
|
/* unused harmony reexport * */
|
|
49592
51751
|
|
|
49593
51752
|
|
|
49594
|
-
/***/ }),
|
|
49595
|
-
|
|
49596
|
-
/***/ "ff18":
|
|
49597
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
49598
|
-
|
|
49599
|
-
"use strict";
|
|
49600
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModelProfile_vue_vue_type_style_index_0_id_b2d952ba_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7552");
|
|
49601
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModelProfile_vue_vue_type_style_index_0_id_b2d952ba_prod_lang_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModelProfile_vue_vue_type_style_index_0_id_b2d952ba_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__);
|
|
49602
|
-
/* unused harmony reexport * */
|
|
49603
|
-
|
|
49604
|
-
|
|
49605
51753
|
/***/ }),
|
|
49606
51754
|
|
|
49607
51755
|
/***/ "ff21":
|