ecinc-cloud-mappaio 9.0.105 → 9.6.1
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/lib/ecmappaio.common.js +1521 -321
- package/lib/ecmappaio.umd.js +1523 -323
- package/lib/ecmappaio.umd.min.js +51 -51
- package/package.json +1 -1
package/lib/ecmappaio.common.js
CHANGED
|
@@ -241,6 +241,7 @@ module.exports = {
|
|
|
241
241
|
/* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
242
242
|
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8051);
|
|
243
243
|
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
244
|
+
function _readOnlyError(r) { throw new TypeError('"' + r + '" is read-only'); }
|
|
244
245
|
function _typeof(o) { "@babel/helpers - typeof"; return _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; }, _typeof(o); }
|
|
245
246
|
function 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; }
|
|
246
247
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -268,8 +269,8 @@ defaultText:默认文本
|
|
|
268
269
|
*/
|
|
269
270
|
function $tx(expression, variables, defaultText) {
|
|
270
271
|
var $scope = this.$vnode ? this.$vnode.context : window.$wapp || window.$mapp;
|
|
271
|
-
if (expression === 'ecwapp.
|
|
272
|
-
|
|
272
|
+
if (expression === 'ecwapp.Wflowform.WfTaskNode.designatedDepartment') {
|
|
273
|
+
debugger;
|
|
273
274
|
}
|
|
274
275
|
var text;
|
|
275
276
|
if ($scope.$te(expression)) {
|
|
@@ -485,7 +486,10 @@ function getPageTitle(itemName, i18nCode, href, $scope) {
|
|
|
485
486
|
}
|
|
486
487
|
function getLanguage() {
|
|
487
488
|
var chooseLanguage = js_cookie__WEBPACK_IMPORTED_MODULE_0___default().get('language');
|
|
488
|
-
if (chooseLanguage)
|
|
489
|
+
if (chooseLanguage) {
|
|
490
|
+
if (chooseLanguage == 'zh-CN') 'zhCN', _readOnlyError("chooseLanguage");
|
|
491
|
+
return chooseLanguage;
|
|
492
|
+
}
|
|
489
493
|
|
|
490
494
|
// if has not choose language
|
|
491
495
|
var language = (navigator.language || navigator.browserLanguage || '').toLowerCase();
|
|
@@ -1351,7 +1355,7 @@ var actions = {
|
|
|
1351
1355
|
|
|
1352
1356
|
/***/ }),
|
|
1353
1357
|
|
|
1354
|
-
/***/
|
|
1358
|
+
/***/ 279:
|
|
1355
1359
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1356
1360
|
|
|
1357
1361
|
"use strict";
|
|
@@ -2221,8 +2225,8 @@ var SysSetupvue_type_template_id_dc9d981a_scoped_true_render = function render()
|
|
|
2221
2225
|
};
|
|
2222
2226
|
var SysSetupvue_type_template_id_dc9d981a_scoped_true_staticRenderFns = [];
|
|
2223
2227
|
|
|
2224
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=template&id=
|
|
2225
|
-
var
|
|
2228
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=template&id=53959ab1&scoped=true
|
|
2229
|
+
var MenuItemFormvue_type_template_id_53959ab1_scoped_true_render = function render() {
|
|
2226
2230
|
var _vm = this,
|
|
2227
2231
|
_c = _vm._self._c;
|
|
2228
2232
|
return _c('el-form', {
|
|
@@ -3142,7 +3146,7 @@ var MenuItemFormvue_type_template_id_766826b0_scoped_true_render = function rend
|
|
|
3142
3146
|
value: 'urlFormatTip4',
|
|
3143
3147
|
expression: "'urlFormatTip4'"
|
|
3144
3148
|
}]
|
|
3145
|
-
}, [_vm._v("2、格式为:@/wapp/workflow/wfTaskItem/myTodo")])]) : _vm._e()])]) : _vm._e(), _vm.vo.moduleLevel !== 1 && _vm.vo.leafFlag
|
|
3149
|
+
}, [_vm._v("2、格式为:@/wapp/workflow/wfTaskItem/myTodo")])]) : _vm._e()])]) : _vm._e(), _vm.vo.moduleLevel !== 1 && _vm.vo.leafFlag == 1 && (_vm.vo.leafType == 3 || _vm.vo.leafType == 4) ? _c('tr', [_c('td', {
|
|
3146
3150
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
3147
3151
|
}, [_c('span', {
|
|
3148
3152
|
staticClass: "required"
|
|
@@ -3150,15 +3154,15 @@ var MenuItemFormvue_type_template_id_766826b0_scoped_true_render = function rend
|
|
|
3150
3154
|
directives: [{
|
|
3151
3155
|
name: "field-lbl",
|
|
3152
3156
|
rawName: "v-field-lbl",
|
|
3153
|
-
value: '
|
|
3154
|
-
expression: "'
|
|
3157
|
+
value: 'wfName',
|
|
3158
|
+
expression: "'wfName'"
|
|
3155
3159
|
}]
|
|
3156
|
-
}, [_vm._v("
|
|
3160
|
+
}, [_vm._v("流程名称")])]), _c('td', {
|
|
3157
3161
|
staticClass: "el-table__cell tdcont tdw33"
|
|
3158
3162
|
}, [_c('ValidationProvider', {
|
|
3159
3163
|
ref: "ValidationProvider",
|
|
3160
3164
|
attrs: {
|
|
3161
|
-
"name": _vm.$tx('ecwplat.menuForm.fields.
|
|
3165
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.wfName', '流程名称'),
|
|
3162
3166
|
"rules": "required"
|
|
3163
3167
|
},
|
|
3164
3168
|
scopedSlots: _vm._u([{
|
|
@@ -3185,29 +3189,29 @@ var MenuItemFormvue_type_template_id_766826b0_scoped_true_render = function rend
|
|
|
3185
3189
|
rawName: "v-listpage-dialog"
|
|
3186
3190
|
}],
|
|
3187
3191
|
attrs: {
|
|
3188
|
-
"name": "
|
|
3189
|
-
"placeholder": _vm.$tx('ecwplat.menuForm.fields.
|
|
3190
|
-
"listviewurl": "
|
|
3192
|
+
"name": "wfName",
|
|
3193
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.wfNameEnter', '请输入流程名称'),
|
|
3194
|
+
"listviewurl": "workflow.wfdProcess.list"
|
|
3191
3195
|
},
|
|
3192
3196
|
model: {
|
|
3193
|
-
value: _vm.vo.
|
|
3197
|
+
value: _vm.vo.wfName,
|
|
3194
3198
|
callback: function callback($$v) {
|
|
3195
|
-
_vm.$set(_vm.vo, "
|
|
3199
|
+
_vm.$set(_vm.vo, "wfName", $$v);
|
|
3196
3200
|
},
|
|
3197
|
-
expression: "vo.
|
|
3201
|
+
expression: "vo.wfName"
|
|
3198
3202
|
}
|
|
3199
3203
|
})], 1)];
|
|
3200
3204
|
}
|
|
3201
|
-
}], null, false,
|
|
3205
|
+
}], null, false, 223860017)
|
|
3202
3206
|
})], 1), _c('td', {
|
|
3203
3207
|
directives: [{
|
|
3204
3208
|
name: "field-lbl",
|
|
3205
3209
|
rawName: "v-field-lbl",
|
|
3206
|
-
value: '
|
|
3207
|
-
expression: "'
|
|
3210
|
+
value: 'wfCode',
|
|
3211
|
+
expression: "'wfCode'"
|
|
3208
3212
|
}],
|
|
3209
3213
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
3210
|
-
}, [_vm._v("
|
|
3214
|
+
}, [_vm._v("流程编码")]), _c('td', {
|
|
3211
3215
|
staticClass: "el-table__cell tdcont tdw33"
|
|
3212
3216
|
}, [_c('el-input', {
|
|
3213
3217
|
directives: [{
|
|
@@ -3215,17 +3219,17 @@ var MenuItemFormvue_type_template_id_766826b0_scoped_true_render = function rend
|
|
|
3215
3219
|
rawName: "v-can-edit"
|
|
3216
3220
|
}],
|
|
3217
3221
|
attrs: {
|
|
3218
|
-
"name": "
|
|
3219
|
-
"placeholder": _vm.$tx('ecwplat.menuForm.fields.
|
|
3222
|
+
"name": "wfCode",
|
|
3223
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.wfCodeEnter', '请输入流程编码')
|
|
3220
3224
|
},
|
|
3221
3225
|
model: {
|
|
3222
|
-
value: _vm.vo.
|
|
3226
|
+
value: _vm.vo.wfCode,
|
|
3223
3227
|
callback: function callback($$v) {
|
|
3224
|
-
_vm.$set(_vm.vo, "
|
|
3228
|
+
_vm.$set(_vm.vo, "wfCode", $$v);
|
|
3225
3229
|
},
|
|
3226
|
-
expression: "vo.
|
|
3230
|
+
expression: "vo.wfCode"
|
|
3227
3231
|
}
|
|
3228
|
-
})], 1)]) : _vm._e(), _vm.vo.moduleLevel !== 1 && _vm.vo.leafFlag
|
|
3232
|
+
})], 1)]) : _vm._e(), _vm.vo.moduleLevel !== 1 && _vm.vo.leafFlag === 1 && _vm.vo.leafType === 3 ? _c('tr', [_c('td', {
|
|
3229
3233
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
3230
3234
|
}, [_c('span', {
|
|
3231
3235
|
staticClass: "required"
|
|
@@ -3233,15 +3237,15 @@ var MenuItemFormvue_type_template_id_766826b0_scoped_true_render = function rend
|
|
|
3233
3237
|
directives: [{
|
|
3234
3238
|
name: "field-lbl",
|
|
3235
3239
|
rawName: "v-field-lbl",
|
|
3236
|
-
value: '
|
|
3237
|
-
expression: "'
|
|
3240
|
+
value: 'businessCode',
|
|
3241
|
+
expression: "'businessCode'"
|
|
3238
3242
|
}]
|
|
3239
|
-
}, [_vm._v("
|
|
3243
|
+
}, [_vm._v("业务代码")])]), _c('td', {
|
|
3240
3244
|
staticClass: "el-table__cell tdcont tdw33"
|
|
3241
3245
|
}, [_c('ValidationProvider', {
|
|
3242
3246
|
ref: "ValidationProvider",
|
|
3243
3247
|
attrs: {
|
|
3244
|
-
"name": _vm.$tx('ecwplat.menuForm.fields.
|
|
3248
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.businessCode', '业务代码'),
|
|
3245
3249
|
"rules": "required"
|
|
3246
3250
|
},
|
|
3247
3251
|
scopedSlots: _vm._u([{
|
|
@@ -3268,29 +3272,29 @@ var MenuItemFormvue_type_template_id_766826b0_scoped_true_render = function rend
|
|
|
3268
3272
|
rawName: "v-listpage-dialog"
|
|
3269
3273
|
}],
|
|
3270
3274
|
attrs: {
|
|
3271
|
-
"name": "
|
|
3272
|
-
"placeholder": _vm.$tx('ecwplat.menuForm.fields.
|
|
3273
|
-
"listviewurl": "
|
|
3275
|
+
"name": "href",
|
|
3276
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.businessCodeEnter', '请输入业务代码,首字母小写'),
|
|
3277
|
+
"listviewurl": "base.entityListpage.list"
|
|
3274
3278
|
},
|
|
3275
3279
|
model: {
|
|
3276
|
-
value: _vm.vo.
|
|
3280
|
+
value: _vm.vo.href,
|
|
3277
3281
|
callback: function callback($$v) {
|
|
3278
|
-
_vm.$set(_vm.vo, "
|
|
3282
|
+
_vm.$set(_vm.vo, "href", $$v);
|
|
3279
3283
|
},
|
|
3280
|
-
expression: "vo.
|
|
3284
|
+
expression: "vo.href"
|
|
3281
3285
|
}
|
|
3282
3286
|
})], 1)];
|
|
3283
3287
|
}
|
|
3284
|
-
}], null, false,
|
|
3288
|
+
}], null, false, 3104104198)
|
|
3285
3289
|
})], 1), _c('td', {
|
|
3286
3290
|
directives: [{
|
|
3287
3291
|
name: "field-lbl",
|
|
3288
3292
|
rawName: "v-field-lbl",
|
|
3289
|
-
value: '
|
|
3290
|
-
expression: "'
|
|
3293
|
+
value: 'engineUrl',
|
|
3294
|
+
expression: "'engineUrl'"
|
|
3291
3295
|
}],
|
|
3292
3296
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
3293
|
-
}, [_vm._v("
|
|
3297
|
+
}, [_vm._v("引擎(模块)URL")]), _c('td', {
|
|
3294
3298
|
staticClass: "el-table__cell tdcont tdw33"
|
|
3295
3299
|
}, [_c('el-input', {
|
|
3296
3300
|
directives: [{
|
|
@@ -3298,15 +3302,15 @@ var MenuItemFormvue_type_template_id_766826b0_scoped_true_render = function rend
|
|
|
3298
3302
|
rawName: "v-can-edit"
|
|
3299
3303
|
}],
|
|
3300
3304
|
attrs: {
|
|
3301
|
-
"name": "
|
|
3302
|
-
"placeholder": _vm.$tx('ecwplat.menuForm.fields.
|
|
3305
|
+
"name": "wfEngineUrl",
|
|
3306
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.engineUrlEnter', '请输入引擎(模块)URL')
|
|
3303
3307
|
},
|
|
3304
3308
|
model: {
|
|
3305
|
-
value: _vm.vo.
|
|
3309
|
+
value: _vm.vo.wfEngineUrl,
|
|
3306
3310
|
callback: function callback($$v) {
|
|
3307
|
-
_vm.$set(_vm.vo, "
|
|
3311
|
+
_vm.$set(_vm.vo, "wfEngineUrl", $$v);
|
|
3308
3312
|
},
|
|
3309
|
-
expression: "vo.
|
|
3313
|
+
expression: "vo.wfEngineUrl"
|
|
3310
3314
|
}
|
|
3311
3315
|
})], 1)]) : _vm._e(), _vm.vo.moduleLevel != 1 && _vm.vo.leafFlag == 1 && (_vm.vo.leafType == 3 || _vm.vo.leafType == 4) ? _c('tr', [_c('td', {
|
|
3312
3316
|
directives: [{
|
|
@@ -3663,7 +3667,7 @@ var MenuItemFormvue_type_template_id_766826b0_scoped_true_render = function rend
|
|
|
3663
3667
|
}
|
|
3664
3668
|
}, [_c('Icons')], 1) : _vm._e()], 1);
|
|
3665
3669
|
};
|
|
3666
|
-
var
|
|
3670
|
+
var MenuItemFormvue_type_template_id_53959ab1_scoped_true_staticRenderFns = [];
|
|
3667
3671
|
|
|
3668
3672
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=script&lang=js
|
|
3669
3673
|
/* harmony default export */ var MenuItemFormvue_type_script_lang_js = ({
|
|
@@ -3953,6 +3957,16 @@ var MenuItemFormvue_type_template_id_766826b0_scoped_true_staticRenderFns = [];
|
|
|
3953
3957
|
if (attr.name === 'wfName') {
|
|
3954
3958
|
this.$set(this.vo, 'wfName', selectedRows[0].name);
|
|
3955
3959
|
this.$set(this.vo, 'wfCode', selectedRows[0].processNo);
|
|
3960
|
+
if (selectedRows[0].workFormW) {
|
|
3961
|
+
var formUrl = selectedRows[0].workFormW;
|
|
3962
|
+
if (formUrl.indexOf('/dcontent/') !== -1) {
|
|
3963
|
+
formUrl = formUrl.split('/dcontent/')[1];
|
|
3964
|
+
} else if (formUrl.indexOf('@/wapp/')) {
|
|
3965
|
+
formUrl = formUrl.split('@/wapp/')[1].replace('/\//', '.');
|
|
3966
|
+
}
|
|
3967
|
+
this.$set(this.vo, 'href', formUrl.split('.')[1]);
|
|
3968
|
+
this.$set(this.vo, 'wfEngineUrl', formUrl.split('.')[0] + '/' + formUrl.split('.')[1]);
|
|
3969
|
+
}
|
|
3956
3970
|
} else if (attr.name === 'href') {
|
|
3957
3971
|
if (this.vo.leafType === 6) {
|
|
3958
3972
|
if (!this.vo.name) {
|
|
@@ -3975,19 +3989,24 @@ var MenuItemFormvue_type_template_id_766826b0_scoped_true_staticRenderFns = [];
|
|
|
3975
3989
|
}
|
|
3976
3990
|
var _pageViewUrl = '#/dcontent/vuereportpage/' + decodeURIComponent(selectedRows[0].reportViewUrl).split('_u=')[1];
|
|
3977
3991
|
this.$set(this.vo, 'href', _pageViewUrl);
|
|
3978
|
-
} else {
|
|
3992
|
+
} else if (this.vo.leafType === 3) {
|
|
3979
3993
|
var listViewUrl = selectedRows[0].listViewUrl.split('.')[0];
|
|
3980
3994
|
listViewUrl = listViewUrl.replace(/\//g, '.');
|
|
3981
|
-
|
|
3982
|
-
this.$set(this.vo, '
|
|
3995
|
+
this.$set(this.vo, 'href', listViewUrl.split('.')[2]);
|
|
3996
|
+
this.$set(this.vo, 'wfEngineUrl', listViewUrl.split('.')[1] + '/' + listViewUrl.split('.')[2]);
|
|
3997
|
+
} else {
|
|
3998
|
+
var _listViewUrl = selectedRows[0].listViewUrl.split('.')[0];
|
|
3999
|
+
_listViewUrl = _listViewUrl.replace(/\//g, '.');
|
|
4000
|
+
_listViewUrl = _listViewUrl.substring(1) + '/';
|
|
4001
|
+
this.$set(this.vo, 'href', '#/dcontent/' + _listViewUrl);
|
|
3983
4002
|
}
|
|
3984
4003
|
} else {
|
|
3985
|
-
var
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
this.$set(this.vo.passenger, attr.name, '#/dcontent/' +
|
|
4004
|
+
var _listViewUrl2 = selectedRows[0].listViewUrl.split('.')[0];
|
|
4005
|
+
_listViewUrl2 = _listViewUrl2.replace(/\//g, '.');
|
|
4006
|
+
_listViewUrl2 = _listViewUrl2.substring(1) + '/';
|
|
4007
|
+
this.$set(this.vo.passenger, attr.name, '#/dcontent/' + _listViewUrl2);
|
|
3989
4008
|
if (!this.vo.passenger.busiCode) {
|
|
3990
|
-
this.$set(this.vo.passenger, 'busiCode',
|
|
4009
|
+
this.$set(this.vo.passenger, 'busiCode', _listViewUrl2.split('.')[2]);
|
|
3991
4010
|
}
|
|
3992
4011
|
}
|
|
3993
4012
|
}
|
|
@@ -3995,9 +4014,9 @@ var MenuItemFormvue_type_template_id_766826b0_scoped_true_staticRenderFns = [];
|
|
|
3995
4014
|
});
|
|
3996
4015
|
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=script&lang=js
|
|
3997
4016
|
/* harmony default export */ var src_MenuItemFormvue_type_script_lang_js = (MenuItemFormvue_type_script_lang_js);
|
|
3998
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=
|
|
3999
|
-
var
|
|
4000
|
-
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=
|
|
4017
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=53959ab1&prod&scoped=true&lang=scss
|
|
4018
|
+
var MenuItemFormvue_type_style_index_0_id_53959ab1_prod_scoped_true_lang_scss = __webpack_require__(4132);
|
|
4019
|
+
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=53959ab1&prod&scoped=true&lang=scss
|
|
4001
4020
|
|
|
4002
4021
|
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue
|
|
4003
4022
|
|
|
@@ -4010,11 +4029,11 @@ var MenuItemFormvue_type_style_index_0_id_766826b0_prod_scoped_true_lang_scss =
|
|
|
4010
4029
|
|
|
4011
4030
|
var MenuItemForm_component = (0,componentNormalizer/* default */.A)(
|
|
4012
4031
|
src_MenuItemFormvue_type_script_lang_js,
|
|
4013
|
-
|
|
4014
|
-
|
|
4032
|
+
MenuItemFormvue_type_template_id_53959ab1_scoped_true_render,
|
|
4033
|
+
MenuItemFormvue_type_template_id_53959ab1_scoped_true_staticRenderFns,
|
|
4015
4034
|
false,
|
|
4016
4035
|
null,
|
|
4017
|
-
"
|
|
4036
|
+
"53959ab1",
|
|
4018
4037
|
null
|
|
4019
4038
|
|
|
4020
4039
|
)
|
|
@@ -6178,10 +6197,12 @@ module.exports = {
|
|
|
6178
6197
|
multiplayerSerial: 'Multiple People in Series',
|
|
6179
6198
|
multiplayerCompetition: 'Multiple People in Competition',
|
|
6180
6199
|
multiPersonReading: 'Multiple People Reading',
|
|
6181
|
-
designatedPersonnel: 'Designated
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6200
|
+
designatedPersonnel: 'Designated personnel',
|
|
6201
|
+
byDepartment: 'By Department',
|
|
6202
|
+
byWorkgroup: 'By Workgroup',
|
|
6203
|
+
byJobPosition: 'By job position',
|
|
6204
|
+
byJobRank: 'By job rank',
|
|
6205
|
+
byHistoryTNUser: 'By history user',
|
|
6185
6206
|
textTip: 'Confirm',
|
|
6186
6207
|
writReviewComments: 'Please fill in review comments',
|
|
6187
6208
|
noWritReview: 'Your reading record does not exist; you cannot fill in review comments.'
|
|
@@ -6407,10 +6428,6 @@ module.exports = {
|
|
|
6407
6428
|
multiplayerSerial: '多人串行',
|
|
6408
6429
|
multiplayerCompetition: '多人竞争',
|
|
6409
6430
|
multiPersonReading: '多人阅文',
|
|
6410
|
-
designatedPersonnel: '指定人员',
|
|
6411
|
-
designatedDepartment: '指定部门',
|
|
6412
|
-
specifyGroup: '指定群组',
|
|
6413
|
-
designatedPosition: '指定岗位',
|
|
6414
6431
|
textTip: '确定',
|
|
6415
6432
|
writReviewComments: '请填写批阅意见',
|
|
6416
6433
|
noWritReview: '您的阅文记录不存在,不能填写批阅意见'
|
|
@@ -6515,7 +6532,7 @@ if ($defineProperty) {
|
|
|
6515
6532
|
|
|
6516
6533
|
/***/ }),
|
|
6517
6534
|
|
|
6518
|
-
/***/
|
|
6535
|
+
/***/ 187:
|
|
6519
6536
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6520
6537
|
|
|
6521
6538
|
"use strict";
|
|
@@ -6962,7 +6979,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-1789b27e] .popup-body{backgrou
|
|
|
6962
6979
|
|
|
6963
6980
|
/***/ }),
|
|
6964
6981
|
|
|
6965
|
-
/***/
|
|
6982
|
+
/***/ 102:
|
|
6966
6983
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6967
6984
|
|
|
6968
6985
|
"use strict";
|
|
@@ -6976,7 +6993,28 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6976
6993
|
|
|
6977
6994
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
6978
6995
|
// Module
|
|
6979
|
-
___CSS_LOADER_EXPORT___.push([module.id, "#bodyfilebox[data-v-
|
|
6996
|
+
___CSS_LOADER_EXPORT___.push([module.id, "#bodyfilebox[data-v-a2cfb25a]{position:absolute;width:100%;overflow:hidden}#bodyfilebox[data-v-a2cfb25a]:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;top:20;left:0;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5);z-index:1}#bodyfilebox .box[data-v-a2cfb25a]{height:100%}#bodyfilebox .box .box-inner[data-v-a2cfb25a]{position:relative;width:100%;height:100%}#bodyfilebox[data-v-a2cfb25a] .van-cell__title{text-align:left}.busi-form-container #bodyfilebox[data-v-a2cfb25a]{height:calc(100vh - 104px - var(--headerHeight))}.busi-form-nobtn-container #bodyfilebox[data-v-a2cfb25a]{height:calc(100vh - 44px - var(--headerHeight))}.bottom-bar[data-v-a2cfb25a]{position:absolute;bottom:20px;width:100%;text-align:center}.bottom-bar .btn-g[data-v-a2cfb25a]:not(:first-child){margin-top:10px}.van-loading[data-v-a2cfb25a]{height:inherit;padding:inherit}", ""]);
|
|
6997
|
+
// Exports
|
|
6998
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6999
|
+
|
|
7000
|
+
|
|
7001
|
+
/***/ }),
|
|
7002
|
+
|
|
7003
|
+
/***/ 5928:
|
|
7004
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7005
|
+
|
|
7006
|
+
"use strict";
|
|
7007
|
+
__webpack_require__.r(__webpack_exports__);
|
|
7008
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
|
|
7009
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
7010
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
|
|
7011
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
7012
|
+
// Imports
|
|
7013
|
+
|
|
7014
|
+
|
|
7015
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
7016
|
+
// Module
|
|
7017
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".divNoContainer[data-v-4b0f0103]{-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:bottom left;transform-origin:bottom left;position:absolute;top:-100vw;height:100vw;width:100vh}.view-container[data-v-4b0f0103]{position:fixed;top:0;width:100vw;height:100vh;background-color:#fff;z-index:9999}.tool-dv[data-v-4b0f0103]{position:absolute;bottom:calc(100vw - 38px);left:calc(100vh - 100px);width:100px;height:37px;background-color:#f1f1f1}.docDiv[data-v-4b0f0103],.iframe[data-v-4b0f0103]{height:100%;width:100%}.docDiv[data-v-4b0f0103]{position:relative;background-color:#fff}.buttomDiv[data-v-4b0f0103]{right:10px}.buttomDiv[data-v-4b0f0103],.buttomDivD[data-v-4b0f0103]{float:right;top:7px;z-index:111;position:absolute;background-color:#1a82e3;font-size:10px;width:40px;line-height:25px;color:#fff;text-align:center;border-radius:2px}.buttomDivD[data-v-4b0f0103]{right:60px}", ""]);
|
|
6980
7018
|
// Exports
|
|
6981
7019
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6982
7020
|
|
|
@@ -7172,7 +7210,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[d
|
|
|
7172
7210
|
|
|
7173
7211
|
/***/ }),
|
|
7174
7212
|
|
|
7175
|
-
/***/
|
|
7213
|
+
/***/ 5217:
|
|
7176
7214
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7177
7215
|
|
|
7178
7216
|
"use strict";
|
|
@@ -7186,7 +7224,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7186
7224
|
|
|
7187
7225
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
7188
7226
|
// Module
|
|
7189
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-
|
|
7227
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-7e1b7fa2]{margin-top:100px;text-align:center}.upload-progress[data-v-7e1b7fa2]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-7e1b7fa2]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-7e1b7fa2]{font-size:70px}.file-svg-icon .svg-icon[data-v-7e1b7fa2]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-7e1b7fa2]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-7e1b7fa2]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-7e1b7fa2]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-7e1b7fa2]{font-size:16px;margin-right:10px}[data-v-7e1b7fa2] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-7e1b7fa2]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-7e1b7fa2]{height:50px;line-height:50px;border-bottom:1px solid #f7f8fa;padding:10px 0;display:-webkit-box;display:-ms-flexbox;display:flex}.attachmentContent .attachmentContent_son .icon_left[data-v-7e1b7fa2],.attachmentContent .attachmentContent_son .icon_right[data-v-7e1b7fa2]{width:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.attachmentContent .attachmentContent_son .content[data-v-7e1b7fa2]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-7e1b7fa2]{height:30px;line-height:30px;font-size:16px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.attachmentContent .attachmentContent_son .content .size[data-v-7e1b7fa2]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-7e1b7fa2] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-7e1b7fa2] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
|
|
7190
7228
|
// Exports
|
|
7191
7229
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7192
7230
|
|
|
@@ -7256,7 +7294,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".popub-container[data-v-6850137e]{widt
|
|
|
7256
7294
|
|
|
7257
7295
|
/***/ }),
|
|
7258
7296
|
|
|
7259
|
-
/***/
|
|
7297
|
+
/***/ 1176:
|
|
7260
7298
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7261
7299
|
|
|
7262
7300
|
"use strict";
|
|
@@ -7275,14 +7313,14 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
|
|
|
7275
7313
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
7276
7314
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
7277
7315
|
// Module
|
|
7278
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-container .van-cell__value[data-v-
|
|
7316
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-container .van-cell__value[data-v-ac8cafcc]{text-align:right}.submit-handle-container .idea-button-container .van-cell__value .van-button[data-v-ac8cafcc]{margin-right:0;margin-left:5px}.submit-handle-container .curIdea-filed[data-v-ac8cafcc] .van-cell__title,.submit-handle-container .curIdea-filed[data-v-ac8cafcc]:after{display:none}.submit-handle-container .clearfix[data-v-ac8cafcc]:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.submit-handle-container .van-wflow-operate-detail-cell[data-v-ac8cafcc]:after{border-top-width:0}.submit-handle-container .van-wflow-operate-detail-cell-path[data-v-ac8cafcc]:after{border-width:1px;-webkit-transform:scale(.5);transform:scale(.5)}.submit-handle-container .tnLimit-container[data-v-ac8cafcc] .van-field__body:after{color:#323233;content:attr(value-suffix)}.submit-handle-container .delete-icon[data-v-ac8cafcc]{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.submit-handle-container .delete-icon .van-icon[data-v-ac8cafcc]{line-height:24px;margin-left:5px;font-size:16px}.selectBox_title[data-v-ac8cafcc]{height:45px;line-height:45px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px}.selectBox_content[data-v-ac8cafcc],.selectBox_title[data-v-ac8cafcc]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 15px}.selectBox_content[data-v-ac8cafcc]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap}.selectBox_content .selectBox_content_son[data-v-ac8cafcc]{border:1px solid #f1f1f1}.selectBox_content .selectBox_content_son[data-v-ac8cafcc],.selectBox_content .selectBox_content_son_change[data-v-ac8cafcc]{padding:4px;background:#f8fafb;font-size:14px;margin-bottom:10px!important;text-align:center;height:22px;line-height:22px;width:calc(25% - 17.5px);margin-right:10px}.selectBox_content .selectBox_content_son_change[data-v-ac8cafcc]{border:1px solid #3f88f1;background-image:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");background-repeat:no-repeat;background-size:15px 15px;background-position:100% 100%;color:#3f88f1}.selectBox_content_sonall[data-v-ac8cafcc]{white-space:nowrap;overflow:hidden;overflow-x:scroll;-webkit-overflow-scrolling:touch}.selectBox_content_sonall[data-v-ac8cafcc]:nth-child(4n){margin-right:0}.selectBox_content_sonall[data-v-ac8cafcc]::-webkit-scrollbar{display:none}.viewAllComments[data-v-ac8cafcc]{height:45px;line-height:45px;text-align:center;color:#b7b7b7;font-size:12px;background:#fff;display:block;width:100%}", ""]);
|
|
7279
7317
|
// Exports
|
|
7280
7318
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7281
7319
|
|
|
7282
7320
|
|
|
7283
7321
|
/***/ }),
|
|
7284
7322
|
|
|
7285
|
-
/***/
|
|
7323
|
+
/***/ 423:
|
|
7286
7324
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7287
7325
|
|
|
7288
7326
|
"use strict";
|
|
@@ -7296,7 +7334,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7296
7334
|
|
|
7297
7335
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
7298
7336
|
// Module
|
|
7299
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wf-nodelogs-container[data-v-
|
|
7337
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".wf-nodelogs-container[data-v-0e256787]{margin-bottom:10px}.wf-nodelogs-container .call-back-file .van-steps[data-v-0e256787]{height:calc(100% - 60px);overflow-y:auto}.wf-nodelogs-container[data-v-0e256787] .popup-body/deep/.van-steps .van-step--vertical{padding-right:16px}.wf-nodelogs-container[data-v-0e256787] .popup-body .active-step-finish .van-step__title{color:#444!important}.wf-nodelogs-container[data-v-0e256787] .popup-body .active-step-finish .van-step__circle-container{color:#1989fa!important}.wf-nodelogs-container[data-v-0e256787] .popup-body .active-step-finish .van-step__line{background-color:#ebedf0!important}.wf-nodelogs-container[data-v-0e256787] .popup-body .elapsed-time{float:right}.wf-nodelogs-container[data-v-0e256787] .popup-body .licont{color:#969799}.wf-nodelogs-container[data-v-0e256787] .popup-body .licont .fr{float:right}.wf-nodelogs-container[data-v-0e256787] .popup-body .van-icon{font-size:18px;background-color:#fff}.wf-nodelogs-container[data-v-0e256787] .popup-body .handwritingIdea{width:200px}.wf-nodelogs-container[data-v-0e256787] .popup-body .start-chat{padding-left:5px;padding-right:5px}", ""]);
|
|
7300
7338
|
// Exports
|
|
7301
7339
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7302
7340
|
|
|
@@ -7345,7 +7383,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-6bf27af0]{margin-top:1
|
|
|
7345
7383
|
|
|
7346
7384
|
/***/ }),
|
|
7347
7385
|
|
|
7348
|
-
/***/
|
|
7386
|
+
/***/ 6734:
|
|
7349
7387
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7350
7388
|
|
|
7351
7389
|
"use strict";
|
|
@@ -7359,7 +7397,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7359
7397
|
|
|
7360
7398
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
7361
7399
|
// Module
|
|
7362
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
7400
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-53959ab1] .el-dialog__body{height:650px;overflow-y:auto;padding:0 0 20px 0}[data-v-53959ab1] .el-dialog__body .el-tabs--top{margin-top:0}", ""]);
|
|
7363
7401
|
// Exports
|
|
7364
7402
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7365
7403
|
|
|
@@ -31853,19 +31891,19 @@ module.exports = function getSideChannel() {
|
|
|
31853
31891
|
|
|
31854
31892
|
/***/ }),
|
|
31855
31893
|
|
|
31856
|
-
/***/
|
|
31894
|
+
/***/ 3620:
|
|
31857
31895
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31858
31896
|
|
|
31859
31897
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
31860
31898
|
|
|
31861
31899
|
// load the styles
|
|
31862
|
-
var content = __webpack_require__(
|
|
31900
|
+
var content = __webpack_require__(187);
|
|
31863
31901
|
if(content.__esModule) content = content.default;
|
|
31864
31902
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
31865
31903
|
if(content.locals) module.exports = content.locals;
|
|
31866
31904
|
// add the styles to the DOM
|
|
31867
31905
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
31868
|
-
var update = add("
|
|
31906
|
+
var update = add("b46e9f12", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31869
31907
|
|
|
31870
31908
|
/***/ }),
|
|
31871
31909
|
|
|
@@ -32189,19 +32227,35 @@ var update = add("3e7011d4", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32189
32227
|
|
|
32190
32228
|
/***/ }),
|
|
32191
32229
|
|
|
32192
|
-
/***/
|
|
32230
|
+
/***/ 6764:
|
|
32231
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32232
|
+
|
|
32233
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32234
|
+
|
|
32235
|
+
// load the styles
|
|
32236
|
+
var content = __webpack_require__(102);
|
|
32237
|
+
if(content.__esModule) content = content.default;
|
|
32238
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32239
|
+
if(content.locals) module.exports = content.locals;
|
|
32240
|
+
// add the styles to the DOM
|
|
32241
|
+
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32242
|
+
var update = add("6cf6ac81", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32243
|
+
|
|
32244
|
+
/***/ }),
|
|
32245
|
+
|
|
32246
|
+
/***/ 5105:
|
|
32193
32247
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32194
32248
|
|
|
32195
32249
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32196
32250
|
|
|
32197
32251
|
// load the styles
|
|
32198
|
-
var content = __webpack_require__(
|
|
32252
|
+
var content = __webpack_require__(5928);
|
|
32199
32253
|
if(content.__esModule) content = content.default;
|
|
32200
32254
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32201
32255
|
if(content.locals) module.exports = content.locals;
|
|
32202
32256
|
// add the styles to the DOM
|
|
32203
32257
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32204
|
-
var update = add("
|
|
32258
|
+
var update = add("1327d6c5", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32205
32259
|
|
|
32206
32260
|
/***/ }),
|
|
32207
32261
|
|
|
@@ -32349,19 +32403,19 @@ var update = add("7f7025d5", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32349
32403
|
|
|
32350
32404
|
/***/ }),
|
|
32351
32405
|
|
|
32352
|
-
/***/
|
|
32406
|
+
/***/ 4763:
|
|
32353
32407
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32354
32408
|
|
|
32355
32409
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32356
32410
|
|
|
32357
32411
|
// load the styles
|
|
32358
|
-
var content = __webpack_require__(
|
|
32412
|
+
var content = __webpack_require__(5217);
|
|
32359
32413
|
if(content.__esModule) content = content.default;
|
|
32360
32414
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32361
32415
|
if(content.locals) module.exports = content.locals;
|
|
32362
32416
|
// add the styles to the DOM
|
|
32363
32417
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32364
|
-
var update = add("
|
|
32418
|
+
var update = add("001f3d7c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32365
32419
|
|
|
32366
32420
|
/***/ }),
|
|
32367
32421
|
|
|
@@ -32413,35 +32467,35 @@ var update = add("0bbd0584", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32413
32467
|
|
|
32414
32468
|
/***/ }),
|
|
32415
32469
|
|
|
32416
|
-
/***/
|
|
32470
|
+
/***/ 8562:
|
|
32417
32471
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32418
32472
|
|
|
32419
32473
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32420
32474
|
|
|
32421
32475
|
// load the styles
|
|
32422
|
-
var content = __webpack_require__(
|
|
32476
|
+
var content = __webpack_require__(1176);
|
|
32423
32477
|
if(content.__esModule) content = content.default;
|
|
32424
32478
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32425
32479
|
if(content.locals) module.exports = content.locals;
|
|
32426
32480
|
// add the styles to the DOM
|
|
32427
32481
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32428
|
-
var update = add("
|
|
32482
|
+
var update = add("e7189816", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32429
32483
|
|
|
32430
32484
|
/***/ }),
|
|
32431
32485
|
|
|
32432
|
-
/***/
|
|
32486
|
+
/***/ 6737:
|
|
32433
32487
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32434
32488
|
|
|
32435
32489
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32436
32490
|
|
|
32437
32491
|
// load the styles
|
|
32438
|
-
var content = __webpack_require__(
|
|
32492
|
+
var content = __webpack_require__(423);
|
|
32439
32493
|
if(content.__esModule) content = content.default;
|
|
32440
32494
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32441
32495
|
if(content.locals) module.exports = content.locals;
|
|
32442
32496
|
// add the styles to the DOM
|
|
32443
32497
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32444
|
-
var update = add("
|
|
32498
|
+
var update = add("1eea9087", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32445
32499
|
|
|
32446
32500
|
/***/ }),
|
|
32447
32501
|
|
|
@@ -32477,19 +32531,19 @@ var update = add("0af4c498", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32477
32531
|
|
|
32478
32532
|
/***/ }),
|
|
32479
32533
|
|
|
32480
|
-
/***/
|
|
32534
|
+
/***/ 4132:
|
|
32481
32535
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32482
32536
|
|
|
32483
32537
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32484
32538
|
|
|
32485
32539
|
// load the styles
|
|
32486
|
-
var content = __webpack_require__(
|
|
32540
|
+
var content = __webpack_require__(6734);
|
|
32487
32541
|
if(content.__esModule) content = content.default;
|
|
32488
32542
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32489
32543
|
if(content.locals) module.exports = content.locals;
|
|
32490
32544
|
// add the styles to the DOM
|
|
32491
32545
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32492
|
-
var update = add("
|
|
32546
|
+
var update = add("717797e6", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32493
32547
|
|
|
32494
32548
|
/***/ }),
|
|
32495
32549
|
|
|
@@ -34042,7 +34096,7 @@ webpackContext.id = 2397;
|
|
|
34042
34096
|
|
|
34043
34097
|
var map = {
|
|
34044
34098
|
"./app.js": 3299,
|
|
34045
|
-
"./route.js":
|
|
34099
|
+
"./route.js": 279,
|
|
34046
34100
|
"./settings.js": 8183,
|
|
34047
34101
|
"./tagsView.js": 314
|
|
34048
34102
|
};
|
|
@@ -39433,7 +39487,7 @@ var wfengine_install = function install(Vue) {
|
|
|
39433
39487
|
$scope.wfJsonData = JSON.parse($scope.wfJsonData);
|
|
39434
39488
|
}
|
|
39435
39489
|
if ($scope.wfJsonData && $scope.wfJsonData.routes) {
|
|
39436
|
-
if ($scope.wfJsonData && $scope.wfInstance.passenger.
|
|
39490
|
+
if ($scope.wfJsonData && $scope.wfInstance.passenger.isUdmNodes === 1) {
|
|
39437
39491
|
$scope.wfJsonData.routes = [];
|
|
39438
39492
|
}
|
|
39439
39493
|
|
|
@@ -39761,6 +39815,11 @@ var wfengine_install = function install(Vue) {
|
|
|
39761
39815
|
if (res.code === 'success') {
|
|
39762
39816
|
console.log('wfEngineService getWfJsonData success');
|
|
39763
39817
|
$scope.wfJsonData = res.body.wfJsonData;
|
|
39818
|
+
if (res.body.udmjysp) {
|
|
39819
|
+
$scope.wfInstance.passenger.udmjysp = res.body.udmjysp;
|
|
39820
|
+
$scope.wfInstance.passenger.isUdmNodes = res.body.isUdmNodes;
|
|
39821
|
+
$scope.wfInstance.passenger.udmNodeUsers = res.body.udmNodeUsers;
|
|
39822
|
+
}
|
|
39764
39823
|
|
|
39765
39824
|
// 是否有需要复制引用其它环节处理人
|
|
39766
39825
|
if ($scope.wfJsonData && $scope.wfJsonData.routes) {
|
|
@@ -40119,10 +40178,13 @@ var wfengine_install = function install(Vue) {
|
|
|
40119
40178
|
}
|
|
40120
40179
|
if ($scope.curTN.tnIdeaAttachment === 1 || $scope.curTN.tnIdeaAttachment === 8) {
|
|
40121
40180
|
//1:需要1个意见附件,8:至少1个意见附件
|
|
40122
|
-
var ideaAttachs =
|
|
40123
|
-
|
|
40124
|
-
|
|
40125
|
-
|
|
40181
|
+
var ideaAttachs = [];
|
|
40182
|
+
if ($scope.attachments) {
|
|
40183
|
+
ideaAttachs = $scope.attachments.filter(function (attach) {
|
|
40184
|
+
return attach.uploadBy.indexOf($scope.curTN.tnID);
|
|
40185
|
+
});
|
|
40186
|
+
}
|
|
40187
|
+
if (ideaAttachs.length === 0 && (!$scope.doNextAttach || !$scope.doNextAttach.file) && (!$scope.doNextAttachList || $scope.doNextAttachList.length === 0)) {
|
|
40126
40188
|
return {
|
|
40127
40189
|
code: 'warning',
|
|
40128
40190
|
message: '请上传意见附件。'
|
|
@@ -50671,8 +50733,8 @@ InnerTable_src.install = function (Vue) {
|
|
|
50671
50733
|
Vue.component(InnerTable_src.name, InnerTable_src);
|
|
50672
50734
|
};
|
|
50673
50735
|
/* harmony default export */ var InnerTable = (InnerTable_src);
|
|
50674
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=template&id=
|
|
50675
|
-
var
|
|
50736
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=template&id=a2cfb25a&scoped=true
|
|
50737
|
+
var srcvue_type_template_id_a2cfb25a_scoped_true_render = function render() {
|
|
50676
50738
|
var _vm = this,
|
|
50677
50739
|
_c = _vm._self._c;
|
|
50678
50740
|
return _c('div', {
|
|
@@ -50683,6 +50745,79 @@ var srcvue_type_template_id_f9bc4a88_scoped_true_render = function render() {
|
|
|
50683
50745
|
staticClass: "box"
|
|
50684
50746
|
}, [_c('div', {
|
|
50685
50747
|
staticClass: "box-inner"
|
|
50748
|
+
}, [_vm.viewBodyFileShow === 'ofd' ? [_c('div', {
|
|
50749
|
+
staticStyle: {
|
|
50750
|
+
"width": "17px",
|
|
50751
|
+
"right": "3px",
|
|
50752
|
+
"padding": "8px",
|
|
50753
|
+
"top": "4px",
|
|
50754
|
+
"z-index": "1000"
|
|
50755
|
+
},
|
|
50756
|
+
style: {
|
|
50757
|
+
'position': _vm.viewBodyFileShow === 'ofd' ? 'absolute' : 'fixed',
|
|
50758
|
+
'top': _vm.viewBodyFileShow === 'ofd' ? '40px' : '100px'
|
|
50759
|
+
},
|
|
50760
|
+
attrs: {
|
|
50761
|
+
"id": "changeScreenH"
|
|
50762
|
+
},
|
|
50763
|
+
on: {
|
|
50764
|
+
"click": function click($event) {
|
|
50765
|
+
$event.stopPropagation();
|
|
50766
|
+
return _vm.changeScreenHo.apply(null, arguments);
|
|
50767
|
+
}
|
|
50768
|
+
}
|
|
50769
|
+
}, [_c('img', {
|
|
50770
|
+
staticStyle: {
|
|
50771
|
+
"width": "100%"
|
|
50772
|
+
},
|
|
50773
|
+
attrs: {
|
|
50774
|
+
"src": './images/m-imgs/app-icons/ic_change_ho.png'
|
|
50775
|
+
}
|
|
50776
|
+
})])] : [_c('div', {
|
|
50777
|
+
staticStyle: {
|
|
50778
|
+
"width": "17px",
|
|
50779
|
+
"right": "3px",
|
|
50780
|
+
"padding": "8px",
|
|
50781
|
+
"top": "4px",
|
|
50782
|
+
"z-index": "1000",
|
|
50783
|
+
"position": "absolute"
|
|
50784
|
+
},
|
|
50785
|
+
attrs: {
|
|
50786
|
+
"id": "changeScreenH"
|
|
50787
|
+
},
|
|
50788
|
+
on: {
|
|
50789
|
+
"click": function click($event) {
|
|
50790
|
+
$event.stopPropagation();
|
|
50791
|
+
return _vm.changeScreenHo.apply(null, arguments);
|
|
50792
|
+
}
|
|
50793
|
+
}
|
|
50794
|
+
}, [_c('img', {
|
|
50795
|
+
staticStyle: {
|
|
50796
|
+
"width": "100%"
|
|
50797
|
+
},
|
|
50798
|
+
attrs: {
|
|
50799
|
+
"src": './images/m-imgs/app-icons/ic_change_ho.png'
|
|
50800
|
+
}
|
|
50801
|
+
})])], _c('span', {
|
|
50802
|
+
directives: [{
|
|
50803
|
+
name: "show",
|
|
50804
|
+
rawName: "v-show",
|
|
50805
|
+
value: _vm.showViewer,
|
|
50806
|
+
expression: "showViewer"
|
|
50807
|
+
}]
|
|
50808
|
+
}, [_c('ShowViewer', {
|
|
50809
|
+
attrs: {
|
|
50810
|
+
"body-url": _vm.bodyFileUrl,
|
|
50811
|
+
"view-body-file-show": _vm.viewBodyFileShow,
|
|
50812
|
+
"type": 1
|
|
50813
|
+
}
|
|
50814
|
+
})], 1), _c('span', {
|
|
50815
|
+
directives: [{
|
|
50816
|
+
name: "show",
|
|
50817
|
+
rawName: "v-show",
|
|
50818
|
+
value: !_vm.showViewer,
|
|
50819
|
+
expression: "!showViewer"
|
|
50820
|
+
}]
|
|
50686
50821
|
}, [_vm.viewBodyFileShow === 'pdf' ? _c('iframe', {
|
|
50687
50822
|
ref: "iframeBodyFile",
|
|
50688
50823
|
attrs: {
|
|
@@ -50702,7 +50837,7 @@ var srcvue_type_template_id_f9bc4a88_scoped_true_render = function render() {
|
|
|
50702
50837
|
"scrolling": "yes",
|
|
50703
50838
|
"src": _vm.bodyFileUrl
|
|
50704
50839
|
}
|
|
50705
|
-
}) : _vm._e()])]), _vm.sign || _vm.seal ? _c('div', {
|
|
50840
|
+
}) : _vm._e()])], 2)]), _vm.sign || _vm.seal ? _c('div', {
|
|
50706
50841
|
staticClass: "bottom-bar"
|
|
50707
50842
|
}, [_vm.sign && _vm.dVisiblesign ? _c('AddSign', {
|
|
50708
50843
|
on: {
|
|
@@ -50720,7 +50855,7 @@ var srcvue_type_template_id_f9bc4a88_scoped_true_render = function render() {
|
|
|
50720
50855
|
}
|
|
50721
50856
|
}) : _vm._e()], 1) : _vm._e()]);
|
|
50722
50857
|
};
|
|
50723
|
-
var
|
|
50858
|
+
var srcvue_type_template_id_a2cfb25a_scoped_true_staticRenderFns = [];
|
|
50724
50859
|
|
|
50725
50860
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/AddSign.vue?vue&type=template&id=4baca1b9&scoped=true
|
|
50726
50861
|
var AddSignvue_type_template_id_4baca1b9_scoped_true_render = function render() {
|
|
@@ -51577,14 +51712,157 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
51577
51712
|
)
|
|
51578
51713
|
|
|
51579
51714
|
/* harmony default export */ var ListSeals = (ListSeals_component.exports);
|
|
51715
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=template&id=4b0f0103&scoped=true
|
|
51716
|
+
var showViewervue_type_template_id_4b0f0103_scoped_true_render = function render() {
|
|
51717
|
+
var _vm = this,
|
|
51718
|
+
_c = _vm._self._c;
|
|
51719
|
+
return _c('div', [_c('div', {
|
|
51720
|
+
staticClass: "view-container"
|
|
51721
|
+
}, [_c('div', {
|
|
51722
|
+
staticClass: "divNoContainer"
|
|
51723
|
+
}, [_c('div', {
|
|
51724
|
+
ref: "container",
|
|
51725
|
+
staticClass: "docDiv container",
|
|
51726
|
+
attrs: {
|
|
51727
|
+
"id": "pdfDiv"
|
|
51728
|
+
}
|
|
51729
|
+
}, [_vm.viewBodyFileShow !== 'ofd' ? _c('iframe', {
|
|
51730
|
+
ref: "iframeBodyFile",
|
|
51731
|
+
attrs: {
|
|
51732
|
+
"id": "pdfHtml",
|
|
51733
|
+
"width": "100%",
|
|
51734
|
+
"height": "100%",
|
|
51735
|
+
"frameborder": "0",
|
|
51736
|
+
"scrolling": "yes",
|
|
51737
|
+
"src": _vm.bodyUrl
|
|
51738
|
+
}
|
|
51739
|
+
}) : _vm._e(), _c('div', {
|
|
51740
|
+
staticClass: "tool-dv"
|
|
51741
|
+
}, [_vm.type ? _c('span', {
|
|
51742
|
+
staticClass: "buttomDivD",
|
|
51743
|
+
on: {
|
|
51744
|
+
"click": _vm.downLoadFile
|
|
51745
|
+
}
|
|
51746
|
+
}, [_vm._v("下载 ")]) : _vm._e(), _c('span', {
|
|
51747
|
+
staticClass: "buttomDiv",
|
|
51748
|
+
attrs: {
|
|
51749
|
+
"id": "docChange"
|
|
51750
|
+
},
|
|
51751
|
+
on: {
|
|
51752
|
+
"click": _vm.closeShowFileDialog
|
|
51753
|
+
}
|
|
51754
|
+
}, [_vm._v("关闭")])])])])])]);
|
|
51755
|
+
};
|
|
51756
|
+
var showViewervue_type_template_id_4b0f0103_scoped_true_staticRenderFns = [];
|
|
51757
|
+
|
|
51758
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=script&lang=js
|
|
51759
|
+
/* harmony default export */ var showViewervue_type_script_lang_js = ({
|
|
51760
|
+
name: 'MShowViewer',
|
|
51761
|
+
components: {},
|
|
51762
|
+
props: {
|
|
51763
|
+
bodyUrl: {
|
|
51764
|
+
type: String,
|
|
51765
|
+
default: ''
|
|
51766
|
+
},
|
|
51767
|
+
viewBodyFileShow: {
|
|
51768
|
+
type: String,
|
|
51769
|
+
default: ''
|
|
51770
|
+
},
|
|
51771
|
+
type: {
|
|
51772
|
+
type: Boolean,
|
|
51773
|
+
default: true
|
|
51774
|
+
}
|
|
51775
|
+
},
|
|
51776
|
+
data: function data() {
|
|
51777
|
+
return {
|
|
51778
|
+
show: false,
|
|
51779
|
+
clickAttach: {}
|
|
51780
|
+
};
|
|
51781
|
+
},
|
|
51782
|
+
computed: {},
|
|
51783
|
+
watch: {},
|
|
51784
|
+
created: function created() {},
|
|
51785
|
+
beforeDestroy: function beforeDestroy() {
|
|
51786
|
+
this.$bus.emit('closeShow');
|
|
51787
|
+
},
|
|
51788
|
+
mounted: function mounted() {
|
|
51789
|
+
var _this = this;
|
|
51790
|
+
console.log(this.bodyUrl, this.viewBodyFileShow, this.type);
|
|
51791
|
+
if (this.viewBodyFileShow === 'ofd') {
|
|
51792
|
+
setTimeout(function () {
|
|
51793
|
+
_this.show = true;
|
|
51794
|
+
}, 300);
|
|
51795
|
+
}
|
|
51796
|
+
},
|
|
51797
|
+
methods: {
|
|
51798
|
+
closeShowFileDialog: function closeShowFileDialog() {
|
|
51799
|
+
this.$vnode.context.showViewer = false;
|
|
51800
|
+
this.$router.back();
|
|
51801
|
+
this.$bus.emit('closeView');
|
|
51802
|
+
this.$bus.emit('closeShow');
|
|
51803
|
+
if (this.$wv && window.mappType === 'ecinc') {
|
|
51804
|
+
this.$mappUtils.changeScreen(2);
|
|
51805
|
+
}
|
|
51806
|
+
},
|
|
51807
|
+
downLoadFile: function downLoadFile() {
|
|
51808
|
+
// console.log(localStorage.isHuaweiUrl, '99')
|
|
51809
|
+
// window.open(location.href.split('/mindex.html')[0] + localStorage.isHuaweiUrl)
|
|
51810
|
+
// this.$mappUtils.downLoadAndOpenFile(location.href.split('/mindex.html')[0] + localStorage.isHuaweiUrl)
|
|
51811
|
+
|
|
51812
|
+
this.clickAttach = this.$vnode.context.bodyfile;
|
|
51813
|
+
var downUrl = "/apigw" + '/' + this.$vnode.context.wfAttachUrl + '/downloadById?attachIds=' + this.$vnode.context.bodyfile.id + '&httpPort=' + location.port + '&saveAs=' + this.$vnode.context.bodyfile.fileName;
|
|
51814
|
+
if (window.mappType === 'ecinc') {
|
|
51815
|
+
this.clickAttach.passenger.downloadUrl = downUrl;
|
|
51816
|
+
this.$wv.downloadAttachment(this.clickAttach);
|
|
51817
|
+
} else {
|
|
51818
|
+
window.open(downUrl);
|
|
51819
|
+
}
|
|
51820
|
+
}
|
|
51821
|
+
}
|
|
51822
|
+
});
|
|
51823
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=script&lang=js
|
|
51824
|
+
/* harmony default export */ var src_showViewervue_type_script_lang_js = (showViewervue_type_script_lang_js);
|
|
51825
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=style&index=0&id=4b0f0103&prod&scoped=true&lang=scss
|
|
51826
|
+
var showViewervue_type_style_index_0_id_4b0f0103_prod_scoped_true_lang_scss = __webpack_require__(5105);
|
|
51827
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=style&index=0&id=4b0f0103&prod&scoped=true&lang=scss
|
|
51828
|
+
|
|
51829
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue
|
|
51830
|
+
|
|
51831
|
+
|
|
51832
|
+
|
|
51833
|
+
;
|
|
51834
|
+
|
|
51835
|
+
|
|
51836
|
+
/* normalize component */
|
|
51837
|
+
|
|
51838
|
+
var showViewer_component = (0,componentNormalizer/* default */.A)(
|
|
51839
|
+
src_showViewervue_type_script_lang_js,
|
|
51840
|
+
showViewervue_type_template_id_4b0f0103_scoped_true_render,
|
|
51841
|
+
showViewervue_type_template_id_4b0f0103_scoped_true_staticRenderFns,
|
|
51842
|
+
false,
|
|
51843
|
+
null,
|
|
51844
|
+
"4b0f0103",
|
|
51845
|
+
null
|
|
51846
|
+
|
|
51847
|
+
)
|
|
51848
|
+
|
|
51849
|
+
/* harmony default export */ var showViewer = (showViewer_component.exports);
|
|
51580
51850
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=script&lang=js
|
|
51851
|
+
function PdfTools_srcvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return PdfTools_srcvue_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; }, PdfTools_srcvue_type_script_lang_js_typeof(o); }
|
|
51852
|
+
function PdfTools_srcvue_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; }
|
|
51853
|
+
function PdfTools_srcvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? PdfTools_srcvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { PdfTools_srcvue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : PdfTools_srcvue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
51854
|
+
function PdfTools_srcvue_type_script_lang_js_defineProperty(e, r, t) { return (r = PdfTools_srcvue_type_script_lang_js_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
51855
|
+
function PdfTools_srcvue_type_script_lang_js_toPropertyKey(t) { var i = PdfTools_srcvue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == PdfTools_srcvue_type_script_lang_js_typeof(i) ? i : i + ""; }
|
|
51856
|
+
function PdfTools_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != PdfTools_srcvue_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" != PdfTools_srcvue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
51857
|
+
|
|
51581
51858
|
|
|
51582
51859
|
|
|
51583
51860
|
/* harmony default export */ var PdfTools_srcvue_type_script_lang_js = ({
|
|
51584
51861
|
name: 'PdfTools',
|
|
51585
51862
|
components: {
|
|
51586
51863
|
AddSign: AddSign,
|
|
51587
|
-
ListSeals: ListSeals
|
|
51864
|
+
ListSeals: ListSeals,
|
|
51865
|
+
ShowViewer: showViewer
|
|
51588
51866
|
},
|
|
51589
51867
|
props: {
|
|
51590
51868
|
sealSource: {
|
|
@@ -51657,7 +51935,8 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
51657
51935
|
iframeBodyFile: null,
|
|
51658
51936
|
loginUser: this.$store.getters.loginUser,
|
|
51659
51937
|
addType: '',
|
|
51660
|
-
downloadBtn: true
|
|
51938
|
+
downloadBtn: true,
|
|
51939
|
+
showViewer: false
|
|
51661
51940
|
};
|
|
51662
51941
|
},
|
|
51663
51942
|
computed: {},
|
|
@@ -51711,6 +51990,16 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
51711
51990
|
h: mm1.height
|
|
51712
51991
|
};
|
|
51713
51992
|
},
|
|
51993
|
+
// 正文旋转
|
|
51994
|
+
changeScreenHo: function changeScreenHo() {
|
|
51995
|
+
this.showViewer = true;
|
|
51996
|
+
this.$router.push({
|
|
51997
|
+
path: this.$route.fullPath,
|
|
51998
|
+
query: PdfTools_srcvue_type_script_lang_js_objectSpread(PdfTools_srcvue_type_script_lang_js_objectSpread({}, this.$route.query), {}, {
|
|
51999
|
+
viewer: '1'
|
|
52000
|
+
})
|
|
52001
|
+
});
|
|
52002
|
+
},
|
|
51714
52003
|
// 获取盖章
|
|
51715
52004
|
selsAddSucc: function selsAddSucc(signObj) {
|
|
51716
52005
|
this.signObj = signObj;
|
|
@@ -51907,13 +52196,13 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
51907
52196
|
});
|
|
51908
52197
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=script&lang=js
|
|
51909
52198
|
/* harmony default export */ var ecmapp_PdfTools_srcvue_type_script_lang_js = (PdfTools_srcvue_type_script_lang_js);
|
|
51910
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=
|
|
51911
|
-
var
|
|
51912
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=
|
|
52199
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=a2cfb25a&prod&scoped=true&lang=scss
|
|
52200
|
+
var srcvue_type_style_index_0_id_a2cfb25a_prod_scoped_true_lang_scss = __webpack_require__(6764);
|
|
52201
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=a2cfb25a&prod&scoped=true&lang=scss
|
|
51913
52202
|
|
|
51914
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=
|
|
51915
|
-
var
|
|
51916
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=
|
|
52203
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=a2cfb25a&prod&lang=css
|
|
52204
|
+
var srcvue_type_style_index_1_id_a2cfb25a_prod_lang_css = __webpack_require__(3620);
|
|
52205
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=a2cfb25a&prod&lang=css
|
|
51917
52206
|
|
|
51918
52207
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue
|
|
51919
52208
|
|
|
@@ -51927,11 +52216,11 @@ var srcvue_type_style_index_1_id_f9bc4a88_prod_lang_css = __webpack_require__(15
|
|
|
51927
52216
|
|
|
51928
52217
|
var PdfTools_src_component = (0,componentNormalizer/* default */.A)(
|
|
51929
52218
|
ecmapp_PdfTools_srcvue_type_script_lang_js,
|
|
51930
|
-
|
|
51931
|
-
|
|
52219
|
+
srcvue_type_template_id_a2cfb25a_scoped_true_render,
|
|
52220
|
+
srcvue_type_template_id_a2cfb25a_scoped_true_staticRenderFns,
|
|
51932
52221
|
false,
|
|
51933
52222
|
null,
|
|
51934
|
-
"
|
|
52223
|
+
"a2cfb25a",
|
|
51935
52224
|
null
|
|
51936
52225
|
|
|
51937
52226
|
)
|
|
@@ -56609,8 +56898,8 @@ var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
|
56609
56898
|
)
|
|
56610
56899
|
|
|
56611
56900
|
/* harmony default export */ var Attachment = (Attachment_component.exports);
|
|
56612
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=template&id=
|
|
56613
|
-
var
|
|
56901
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=template&id=7e1b7fa2&scoped=true
|
|
56902
|
+
var BodyFilevue_type_template_id_7e1b7fa2_scoped_true_render = function render() {
|
|
56614
56903
|
var _vm = this,
|
|
56615
56904
|
_c = _vm._self._c;
|
|
56616
56905
|
return _c('div', {
|
|
@@ -56974,7 +57263,7 @@ var BodyFilevue_type_template_id_37d9b4bc_scoped_true_render = function render()
|
|
|
56974
57263
|
})])]) : _vm._e()]) : _vm._e()];
|
|
56975
57264
|
})], 2)])], 1);
|
|
56976
57265
|
};
|
|
56977
|
-
var
|
|
57266
|
+
var BodyFilevue_type_template_id_7e1b7fa2_scoped_true_staticRenderFns = [];
|
|
56978
57267
|
|
|
56979
57268
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
56980
57269
|
function BodyFilevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return BodyFilevue_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; }, BodyFilevue_type_script_lang_js_typeof(o); }
|
|
@@ -57081,7 +57370,9 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57081
57370
|
// 签名状态
|
|
57082
57371
|
pdfSealChange: false,
|
|
57083
57372
|
// 印章状态
|
|
57084
|
-
viewBodyFileShow: ''
|
|
57373
|
+
viewBodyFileShow: '',
|
|
57374
|
+
onlineViewer: null,
|
|
57375
|
+
fuxinBaseUrl: null
|
|
57085
57376
|
};
|
|
57086
57377
|
},
|
|
57087
57378
|
computed: {},
|
|
@@ -57105,120 +57396,238 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57105
57396
|
mounted: function mounted() {},
|
|
57106
57397
|
methods: {
|
|
57107
57398
|
onTabChanged: function onTabChanged(tabActive) {
|
|
57108
|
-
|
|
57109
|
-
|
|
57110
|
-
|
|
57111
|
-
|
|
57399
|
+
var _this2 = this;
|
|
57400
|
+
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
57401
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
57402
|
+
while (1) switch (_context.prev = _context.next) {
|
|
57403
|
+
case 0:
|
|
57404
|
+
if (!(_this2.wflowNavbarList[tabActive] === 'BodyFile')) {
|
|
57405
|
+
_context.next = 8;
|
|
57406
|
+
break;
|
|
57407
|
+
}
|
|
57408
|
+
if (!(_this2.$vnode.context.wfInstance.passenger.onlineViewer === 'fuxin')) {
|
|
57409
|
+
_context.next = 6;
|
|
57410
|
+
break;
|
|
57411
|
+
}
|
|
57412
|
+
_context.next = 4;
|
|
57413
|
+
return _this2.$http({
|
|
57414
|
+
method: 'get',
|
|
57415
|
+
contentType: 'application/x-www-form-urlencoded',
|
|
57416
|
+
url: 'base/paramConfig/findParamValueByName?orgCode=standard¶mName=fuxin.viewer.url'
|
|
57417
|
+
}).then(function (res) {
|
|
57418
|
+
if (res.code === 'success') {
|
|
57419
|
+
_this2.fuxinBaseUrl = res.body.value;
|
|
57420
|
+
_this2.onlineViewer = 'fuxin';
|
|
57421
|
+
} else {
|
|
57422
|
+
_this2.onlineViewer = 'pdfjs';
|
|
57423
|
+
}
|
|
57424
|
+
});
|
|
57425
|
+
case 4:
|
|
57426
|
+
_context.next = 7;
|
|
57427
|
+
break;
|
|
57428
|
+
case 6:
|
|
57429
|
+
_this2.onlineViewer = _this2.$vnode.context.wfInstance.passenger.onlineViewer || 'pdfjs';
|
|
57430
|
+
case 7:
|
|
57431
|
+
_this2.viewBodyFile();
|
|
57432
|
+
case 8:
|
|
57433
|
+
_this2.setFooterBtns(tabActive);
|
|
57434
|
+
case 9:
|
|
57435
|
+
case "end":
|
|
57436
|
+
return _context.stop();
|
|
57437
|
+
}
|
|
57438
|
+
}, _callee);
|
|
57439
|
+
}))();
|
|
57112
57440
|
},
|
|
57113
57441
|
viewBodyFile: function viewBodyFile() {
|
|
57114
|
-
var
|
|
57115
|
-
|
|
57116
|
-
|
|
57117
|
-
|
|
57118
|
-
|
|
57119
|
-
|
|
57120
|
-
|
|
57121
|
-
|
|
57122
|
-
|
|
57123
|
-
|
|
57124
|
-
|
|
57125
|
-
|
|
57126
|
-
|
|
57127
|
-
|
|
57128
|
-
|
|
57129
|
-
|
|
57130
|
-
|
|
57131
|
-
|
|
57132
|
-
|
|
57133
|
-
|
|
57134
|
-
|
|
57135
|
-
|
|
57136
|
-
|
|
57137
|
-
|
|
57138
|
-
|
|
57139
|
-
|
|
57140
|
-
|
|
57141
|
-
|
|
57142
|
-
|
|
57143
|
-
|
|
57144
|
-
|
|
57145
|
-
|
|
57146
|
-
|
|
57147
|
-
|
|
57148
|
-
|
|
57149
|
-
|
|
57150
|
-
|
|
57151
|
-
|
|
57152
|
-
|
|
57153
|
-
|
|
57154
|
-
|
|
57442
|
+
var _this3 = this;
|
|
57443
|
+
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
57444
|
+
var oriangialName, extName, _this, appUrl, tSessionId, downUrl, fileurl, _fileurl;
|
|
57445
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
57446
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
57447
|
+
case 0:
|
|
57448
|
+
if (!(!_this3.flBodyfile || _this3.flBodyfile.id === undefined)) {
|
|
57449
|
+
_context2.next = 2;
|
|
57450
|
+
break;
|
|
57451
|
+
}
|
|
57452
|
+
return _context2.abrupt("return");
|
|
57453
|
+
case 2:
|
|
57454
|
+
_this3.downloadurl = null;
|
|
57455
|
+
_this3.bodyFileUrl = '';
|
|
57456
|
+
_this3.flBodyfileBak = _this3.flBodyfile;
|
|
57457
|
+
oriangialName = _this3.flBodyfile.originalName.replace('.des', '').replace('.xor', '').replace('.rsm3', '').replace('.sm4', '');
|
|
57458
|
+
extName = oriangialName.substring(oriangialName.lastIndexOf('.')).toLowerCase();
|
|
57459
|
+
_this3.seal = false;
|
|
57460
|
+
_this3.$vnode.context.commandBar.forEach(function (btn) {
|
|
57461
|
+
if (btn.btnCode === 'btnStampClick' && _this3.$vnode.context.wfInstance.haveDoc === 2) {
|
|
57462
|
+
_this3.seal = true;
|
|
57463
|
+
}
|
|
57464
|
+
});
|
|
57465
|
+
if (_this3.fileNeedSign === 1 && _this3.$vnode.context.wfInstance.haveDoc === 2) {
|
|
57466
|
+
_this3.sign = true;
|
|
57467
|
+
} else {
|
|
57468
|
+
_this3.sign = false;
|
|
57469
|
+
}
|
|
57470
|
+
_this = _this3;
|
|
57471
|
+
if (!(extName === '.ofd' && _this3.onlineViewer === 'fuxin')) {
|
|
57472
|
+
_context2.next = 28;
|
|
57473
|
+
break;
|
|
57474
|
+
}
|
|
57475
|
+
appUrl = location.href.split('#')[0]; // url
|
|
57476
|
+
if (appUrl.indexOf('/mindex.html') > -1) {
|
|
57477
|
+
appUrl = appUrl.split('/mindex.html')[0];
|
|
57478
|
+
}
|
|
57479
|
+
_context2.next = 16;
|
|
57480
|
+
return _this3.getSessionId();
|
|
57481
|
+
case 16:
|
|
57482
|
+
tSessionId = _context2.sent;
|
|
57483
|
+
downUrl = appUrl + "/apigw";
|
|
57484
|
+
downUrl += _this3.wfAttachUrl.substring(0, 1) === '/' ? _this3.wfAttachUrl : '/' + _this3.wfAttachUrl;
|
|
57485
|
+
downUrl += '/downloadById?attachIds=' + _this3.flBodyfile.id + '&topdf=true';
|
|
57486
|
+
// downUrl += this.waterMark ? '&waterMark=' + this.waterMark + '&markContent=' + this.markContent : ''
|
|
57487
|
+
downUrl += '&tSessionId=' + tSessionId;
|
|
57488
|
+
console.log(downUrl);
|
|
57489
|
+
if (_this3.fuxinBaseUrl) {
|
|
57490
|
+
_this3.fuxinBaseUrl = _this3.fuxinBaseUrl.replace('/pc/', '/mobile/');
|
|
57491
|
+
_this3.bodyFileUrl = _this3.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
|
|
57492
|
+
} else {
|
|
57493
|
+
_this3.$http({
|
|
57494
|
+
method: 'get',
|
|
57495
|
+
contentType: 'application/x-www-form-urlencoded',
|
|
57496
|
+
url: 'base/paramConfig/findParamValueByName?orgCode=standard¶mName=fuxin.viewer.url'
|
|
57497
|
+
}).then(function (res) {
|
|
57498
|
+
if (res.code === 'success') {
|
|
57499
|
+
_this3.fuxinBaseUrl = res.body.value;
|
|
57500
|
+
_this3.fuxinBaseUrl = _this3.fuxinBaseUrl.replace('/pc/', '/mobile/');
|
|
57501
|
+
_this3.bodyFileUrl = _this3.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
|
|
57502
|
+
} else {
|
|
57503
|
+
_this3.$toast.fail('未配置福星预览地址参数 fuxin.viewer.url');
|
|
57504
|
+
}
|
|
57505
|
+
});
|
|
57506
|
+
}
|
|
57507
|
+
console.log('bodyFileUrl=====>', _this3.bodyFileUrl);
|
|
57508
|
+
_this3.viewBodyFileShow = 'ofd';
|
|
57509
|
+
_this3.$nextTick(function () {
|
|
57510
|
+
if (document.getElementById('changeScreenH')) {
|
|
57511
|
+
document.getElementById('changeScreenH').style.display = 'none';
|
|
57512
|
+
}
|
|
57513
|
+
});
|
|
57155
57514
|
_this.loaded = false;
|
|
57156
|
-
|
|
57515
|
+
return _context2.abrupt("return");
|
|
57516
|
+
case 28:
|
|
57517
|
+
_this3.viewer = 'pdfjs';
|
|
57518
|
+
if ((extName === '.pdf' || extName === '.pdf.des' || extName === '.pdf.xor' || extName === '.pdf.rsm3' || extName === '.pdf.sm4') && (_this3.viewer === 'pdfjs' || _this3.sign || _this3.seal)) {
|
|
57519
|
+
_this3.viewBodyFileShow = 'pdf';
|
|
57520
|
+
if (_this3.sign || _this3.seal) {
|
|
57521
|
+
_this3.waterMark = false;
|
|
57522
|
+
}
|
|
57523
|
+
fileurl = "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this3.flBodyfile.id + '&widthType=auto&viewType=mobile';
|
|
57524
|
+
fileurl += '&httpPort=' + location.port + '&waterMark=' + _this3.waterMark + '&markContent=' + _this3.markContent;
|
|
57525
|
+
if (_this3.flBodyfile.fileName.indexOf('{') !== -1 || _this3.flBodyfile.fileName.indexOf('%') !== -1 || _this3.flBodyfile.fileName.indexOf('[') !== -1) {
|
|
57526
|
+
fileurl += '&fileName=' + encodeURIComponent(_this3.flBodyfile.fileName);
|
|
57527
|
+
} else {
|
|
57528
|
+
fileurl += '&fileName=' + _this3.flBodyfile.fileName;
|
|
57529
|
+
}
|
|
57530
|
+
_this3.bodyFileUrl = './plugins/PDFjs/web/viewer.html?file=' + encodeURIComponent(fileurl);
|
|
57531
|
+
_this3.$nextTick(function () {
|
|
57532
|
+
var iframe = document.getElementById('pdfHtml');
|
|
57533
|
+
if (iframe == null) return;
|
|
57534
|
+
if (iframe.attachEvent) {
|
|
57535
|
+
iframe.attachEvent('onload', function () {
|
|
57536
|
+
_this.loaded = false;
|
|
57537
|
+
});
|
|
57538
|
+
} else {
|
|
57539
|
+
iframe.onload = function () {
|
|
57540
|
+
_this.loaded = false;
|
|
57541
|
+
};
|
|
57542
|
+
}
|
|
57543
|
+
});
|
|
57544
|
+
} else if (extName === '.ofd') {
|
|
57545
|
+
_this3.sign = false;
|
|
57546
|
+
_this3.seal = false;
|
|
57547
|
+
_this3.viewBodyFileShow = 'ofd';
|
|
57548
|
+
_fileurl = "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this3.flBodyfile.id + '&widthType=auto&viewType=mobile';
|
|
57549
|
+
if (_this3.flBodyfile.fileName.indexOf('{') !== -1 || _this3.flBodyfile.fileName.indexOf('%') !== -1 || _this3.flBodyfile.fileName.indexOf('[') !== -1) {
|
|
57550
|
+
_fileurl += '&fileName=' + encodeURIComponent(_this3.flBodyfile.fileName);
|
|
57551
|
+
} else {
|
|
57552
|
+
_fileurl += '&fileName=' + _this3.flBodyfile.fileName;
|
|
57553
|
+
}
|
|
57554
|
+
_fileurl += '&httpPort=' + location.port + '&waterMark=' + _this3.waterMark + '&markContent=' + _this3.markContent;
|
|
57555
|
+
_this3.bodyFileUrl = './plugins/OfdJs/view.html?file=' + encodeURIComponent(_fileurl);
|
|
57556
|
+
_this.loaded = false;
|
|
57557
|
+
} else if (_this3.viewer.indexOf('dcs=') === 0) {
|
|
57558
|
+
_this3.sign = false;
|
|
57559
|
+
_this3.seal = false;
|
|
57560
|
+
_this3.$http({
|
|
57561
|
+
method: 'GET',
|
|
57562
|
+
url: 'base/user/getSessionId'
|
|
57563
|
+
}).then(function (res) {
|
|
57564
|
+
if (res.code === 'success') {
|
|
57565
|
+
var _tSessionId = res.body.tSessionId;
|
|
57566
|
+
var hostname = location.href.split('mindex.html')[0];
|
|
57567
|
+
var _downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?attachIds=' + _this3.flBodyfile.id + '&httpPort=' + location.port + '&tSessionId=' + _tSessionId;
|
|
57568
|
+
var convertType = '0';
|
|
57569
|
+
if (_this3.extName === '.ofd') {
|
|
57570
|
+
convertType = '21';
|
|
57571
|
+
} else if (_this3.extName === '.pdf' || _this3.extName === '.pdfx') {
|
|
57572
|
+
convertType = '20';
|
|
57573
|
+
}
|
|
57574
|
+
_downUrl = _this3.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(_downUrl);
|
|
57575
|
+
if (_this3.viewerUrlParams) {
|
|
57576
|
+
_downUrl += '&' + _this3.viewerUrlParams;
|
|
57577
|
+
}
|
|
57578
|
+
if (_downUrl.indexOf('&acceptTracks=0') === -1) {
|
|
57579
|
+
_downUrl += '&acceptTracks=0';
|
|
57580
|
+
}
|
|
57581
|
+
$.post(_downUrl, {}, function (res) {
|
|
57582
|
+
_this.loaded = false;
|
|
57583
|
+
if (res.errorcode === 0) {
|
|
57584
|
+
_this.bodyFileUrl = res.data.viewUrl;
|
|
57585
|
+
} else {
|
|
57586
|
+
_this3.$dialog.alert({
|
|
57587
|
+
message: res.message
|
|
57588
|
+
});
|
|
57589
|
+
}
|
|
57590
|
+
}, 'json');
|
|
57591
|
+
}
|
|
57592
|
+
});
|
|
57593
|
+
} else {
|
|
57594
|
+
_this3.downloadurl = "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this3.flBodyfile.id + '&httpPort=' + location.port + '&waterMark=' + _this3.waterMark + '&markContent=' + _this3.markContent;
|
|
57595
|
+
}
|
|
57596
|
+
case 30:
|
|
57597
|
+
case "end":
|
|
57598
|
+
return _context2.stop();
|
|
57157
57599
|
}
|
|
57158
|
-
});
|
|
57159
|
-
}
|
|
57160
|
-
|
|
57161
|
-
|
|
57162
|
-
|
|
57163
|
-
|
|
57164
|
-
|
|
57165
|
-
_fileurl += '&fileName=' + encodeURIComponent(this.flBodyfile.fileName);
|
|
57166
|
-
} else {
|
|
57167
|
-
_fileurl += '&fileName=' + this.flBodyfile.fileName;
|
|
57168
|
-
}
|
|
57169
|
-
_fileurl += '&httpPort=' + location.port + '&waterMark=' + this.waterMark + '&markContent=' + this.markContent;
|
|
57170
|
-
this.bodyFileUrl = './plugins/OfdJs/view.html?file=' + encodeURIComponent(_fileurl);
|
|
57171
|
-
_this.loaded = false;
|
|
57172
|
-
} else if (this.viewer.indexOf('dcs=') === 0) {
|
|
57173
|
-
this.sign = false;
|
|
57174
|
-
this.seal = false;
|
|
57175
|
-
this.$http({
|
|
57600
|
+
}, _callee2);
|
|
57601
|
+
}))();
|
|
57602
|
+
},
|
|
57603
|
+
getSessionId: function getSessionId() {
|
|
57604
|
+
var _this4 = this;
|
|
57605
|
+
return new Promise(function (resolve, reject) {
|
|
57606
|
+
_this4.$http({
|
|
57176
57607
|
method: 'GET',
|
|
57608
|
+
params: {
|
|
57609
|
+
timeLength: 60
|
|
57610
|
+
},
|
|
57177
57611
|
url: 'base/user/getSessionId'
|
|
57178
57612
|
}).then(function (res) {
|
|
57179
57613
|
if (res.code === 'success') {
|
|
57180
|
-
|
|
57181
|
-
|
|
57182
|
-
|
|
57183
|
-
var convertType = '0';
|
|
57184
|
-
if (_this2.extName === '.ofd') {
|
|
57185
|
-
convertType = '21';
|
|
57186
|
-
} else if (_this2.extName === '.pdf' || _this2.extName === '.pdfx') {
|
|
57187
|
-
convertType = '20';
|
|
57188
|
-
}
|
|
57189
|
-
downUrl = _this2.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(downUrl);
|
|
57190
|
-
if (_this2.viewerUrlParams) {
|
|
57191
|
-
downUrl += '&' + _this2.viewerUrlParams;
|
|
57192
|
-
}
|
|
57193
|
-
if (downUrl.indexOf('&acceptTracks=0') === -1) {
|
|
57194
|
-
downUrl += '&acceptTracks=0';
|
|
57195
|
-
}
|
|
57196
|
-
$.post(downUrl, {}, function (res) {
|
|
57197
|
-
_this.loaded = false;
|
|
57198
|
-
if (res.errorcode === 0) {
|
|
57199
|
-
_this.bodyFileUrl = res.data.viewUrl;
|
|
57200
|
-
} else {
|
|
57201
|
-
_this2.$dialog.alert({
|
|
57202
|
-
message: res.message
|
|
57203
|
-
});
|
|
57204
|
-
}
|
|
57205
|
-
}, 'json');
|
|
57614
|
+
resolve(res.body.tSessionId);
|
|
57615
|
+
} else {
|
|
57616
|
+
reject(res.msg);
|
|
57206
57617
|
}
|
|
57207
57618
|
});
|
|
57208
|
-
}
|
|
57209
|
-
this.downloadurl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=true&attachIds=' + this.flBodyfile.id + '&httpPort=' + location.port + '&waterMark=' + this.waterMark + '&markContent=' + this.markContent;
|
|
57210
|
-
}
|
|
57619
|
+
});
|
|
57211
57620
|
},
|
|
57212
57621
|
reloadBodyFile: function reloadBodyFile() {
|
|
57213
|
-
var
|
|
57622
|
+
var _this5 = this;
|
|
57214
57623
|
this.downloadurl = null;
|
|
57215
57624
|
this.bodyFileUrl = '';
|
|
57216
57625
|
this.$nextTick(function () {
|
|
57217
|
-
|
|
57626
|
+
_this5.viewBodyFile();
|
|
57218
57627
|
});
|
|
57219
57628
|
},
|
|
57220
57629
|
setFooterBtns: function setFooterBtns(tabActive) {
|
|
57221
|
-
var
|
|
57630
|
+
var _this6 = this;
|
|
57222
57631
|
var footerBtns = [];
|
|
57223
57632
|
if (this.wflowNavbarList[tabActive] !== 'BodyFile') {
|
|
57224
57633
|
this.$vnode.context.setFooterBtns();
|
|
@@ -57251,7 +57660,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57251
57660
|
bodyFileList.forEach(function (item) {
|
|
57252
57661
|
var fileName = item.fileName;
|
|
57253
57662
|
var bodyFileName = item.bodyFileName ? item.bodyFileName : item.fileName;
|
|
57254
|
-
if (bodyFileName.includes('RedTitle_') || bodyFileName ===
|
|
57663
|
+
if (bodyFileName.includes('RedTitle_') || bodyFileName === _this6.$vnode.context.vo.flbodyfilename || fileName === _this6.$vnode.context.vo.flbodyfilename || fileName.includes('RedTitle_')) {
|
|
57255
57664
|
isSeal = true;
|
|
57256
57665
|
}
|
|
57257
57666
|
});
|
|
@@ -57433,21 +57842,21 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57433
57842
|
},
|
|
57434
57843
|
// 保存印章
|
|
57435
57844
|
pdfSealSave: function pdfSealSave() {
|
|
57436
|
-
var
|
|
57437
|
-
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57438
|
-
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57439
|
-
while (1) switch (
|
|
57845
|
+
var _this7 = this;
|
|
57846
|
+
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
57847
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
57848
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
57440
57849
|
case 0:
|
|
57441
|
-
|
|
57442
|
-
return
|
|
57850
|
+
_context3.next = 2;
|
|
57851
|
+
return _this7.$refs.PdfTools.pdfStamp();
|
|
57443
57852
|
case 2:
|
|
57444
|
-
|
|
57445
|
-
|
|
57853
|
+
_this7.pdfSealChange = false;
|
|
57854
|
+
_this7.setFooterBtns(0);
|
|
57446
57855
|
case 4:
|
|
57447
57856
|
case "end":
|
|
57448
|
-
return
|
|
57857
|
+
return _context3.stop();
|
|
57449
57858
|
}
|
|
57450
|
-
},
|
|
57859
|
+
}, _callee3);
|
|
57451
57860
|
}))();
|
|
57452
57861
|
},
|
|
57453
57862
|
// 添加签名
|
|
@@ -57468,21 +57877,21 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57468
57877
|
},
|
|
57469
57878
|
// 保存签名
|
|
57470
57879
|
pdfSignSave: function pdfSignSave() {
|
|
57471
|
-
var
|
|
57472
|
-
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57473
|
-
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57474
|
-
while (1) switch (
|
|
57880
|
+
var _this8 = this;
|
|
57881
|
+
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
|
|
57882
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
57883
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
57475
57884
|
case 0:
|
|
57476
|
-
|
|
57477
|
-
return
|
|
57885
|
+
_context4.next = 2;
|
|
57886
|
+
return _this8.$refs.PdfTools.pdfSign();
|
|
57478
57887
|
case 2:
|
|
57479
|
-
|
|
57480
|
-
|
|
57888
|
+
_this8.pdfSignChange = false;
|
|
57889
|
+
_this8.setFooterBtns(0);
|
|
57481
57890
|
case 4:
|
|
57482
57891
|
case "end":
|
|
57483
|
-
return
|
|
57892
|
+
return _context4.stop();
|
|
57484
57893
|
}
|
|
57485
|
-
},
|
|
57894
|
+
}, _callee4);
|
|
57486
57895
|
}))();
|
|
57487
57896
|
},
|
|
57488
57897
|
attachmentDownloadClick: function attachmentDownloadClick(attachment) {
|
|
@@ -57502,21 +57911,21 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57502
57911
|
this.$wv.showAttachmentOtherApps(this.flBodyfile);
|
|
57503
57912
|
},
|
|
57504
57913
|
btnUploadBodyfileClick: function btnUploadBodyfileClick() {
|
|
57505
|
-
var
|
|
57914
|
+
var _this9 = this;
|
|
57506
57915
|
new Promise(function (resolve, reject) {
|
|
57507
|
-
if (
|
|
57508
|
-
|
|
57509
|
-
message:
|
|
57510
|
-
}).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57511
|
-
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57512
|
-
while (1) switch (
|
|
57916
|
+
if (_this9.$vnode.context.wfInstance.haveDoc) {
|
|
57917
|
+
_this9.$dialog.confirm({
|
|
57918
|
+
message: _this9.$tx('ecmapp.wflowform.coverMainText', '重新上传会覆盖现有正文,是否确认?')
|
|
57919
|
+
}).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
|
|
57920
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
57921
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
57513
57922
|
case 0:
|
|
57514
57923
|
resolve(true);
|
|
57515
57924
|
case 1:
|
|
57516
57925
|
case "end":
|
|
57517
|
-
return
|
|
57926
|
+
return _context5.stop();
|
|
57518
57927
|
}
|
|
57519
|
-
},
|
|
57928
|
+
}, _callee5);
|
|
57520
57929
|
}))).catch(function () {
|
|
57521
57930
|
reject('cancel btnUploadBodyfileClick.');
|
|
57522
57931
|
});
|
|
@@ -57524,19 +57933,19 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57524
57933
|
resolve(true);
|
|
57525
57934
|
}
|
|
57526
57935
|
}).then(function (result) {
|
|
57527
|
-
|
|
57528
|
-
|
|
57529
|
-
|
|
57936
|
+
_this9.uploadList = [];
|
|
57937
|
+
_this9.$vnode.context.formValidate(function () {
|
|
57938
|
+
_this9.$vnode.context.submitHandle.submitType = 'Save';
|
|
57530
57939
|
new Promise(function (resolve, reject) {
|
|
57531
|
-
|
|
57940
|
+
_this9.$vnode.context.formEvents.onWflowFormBeforeSubmit(_this9.$vnode.context, {
|
|
57532
57941
|
resolve: resolve,
|
|
57533
57942
|
reject: reject
|
|
57534
57943
|
});
|
|
57535
57944
|
}).then(function (result) {
|
|
57536
57945
|
if (!result) return;
|
|
57537
|
-
|
|
57538
|
-
|
|
57539
|
-
var uploadBtn =
|
|
57946
|
+
_this9.flBodyfile = _this9.flBodyfileBak;
|
|
57947
|
+
_this9.$nextTick(function () {
|
|
57948
|
+
var uploadBtn = _this9.$el.querySelector('.van-uploader__input');
|
|
57540
57949
|
uploadBtn.click();
|
|
57541
57950
|
});
|
|
57542
57951
|
});
|
|
@@ -57546,7 +57955,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57546
57955
|
});
|
|
57547
57956
|
},
|
|
57548
57957
|
btnOpenWordClick: function btnOpenWordClick() {
|
|
57549
|
-
var
|
|
57958
|
+
var _this10 = this;
|
|
57550
57959
|
// 编辑正文
|
|
57551
57960
|
if (this.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
57552
57961
|
if (this.$vnode.context.wfInstance.haveDoc === 2) {
|
|
@@ -57555,7 +57964,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57555
57964
|
message: this.$tx('ecmapp.wflowform.alreadlyRed', '该公文已经套红,重新编辑正文后需要重套红!是否继续?'),
|
|
57556
57965
|
title: this.$tx('common.confirm', '确认操作')
|
|
57557
57966
|
}).then(function () {
|
|
57558
|
-
|
|
57967
|
+
_this10.$bus.emit('btnOpenWordClick', _this10.$vnode.context);
|
|
57559
57968
|
}).catch(function () {
|
|
57560
57969
|
// 处理选择否的情况
|
|
57561
57970
|
return;
|
|
@@ -57582,7 +57991,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57582
57991
|
});
|
|
57583
57992
|
},
|
|
57584
57993
|
handleUploadChange: function handleUploadChange(file) {
|
|
57585
|
-
var
|
|
57994
|
+
var _this11 = this;
|
|
57586
57995
|
var fileName = file.file.name;
|
|
57587
57996
|
var extName = fileName.substring(fileName.lastIndexOf('.')).toLowerCase();
|
|
57588
57997
|
if (this.accept.indexOf(extName) === -1) {
|
|
@@ -57618,7 +58027,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57618
58027
|
this.$set(this.$vnode.context, 'bodyfile', attach);
|
|
57619
58028
|
this.bodyFileUrl = '';
|
|
57620
58029
|
this.$nextTick(function () {
|
|
57621
|
-
|
|
58030
|
+
_this11.$vnode.context.btnSubmitClick('Save');
|
|
57622
58031
|
});
|
|
57623
58032
|
},
|
|
57624
58033
|
onUploadProgress: function onUploadProgress(attach) {
|
|
@@ -57666,7 +58075,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57666
58075
|
}
|
|
57667
58076
|
},
|
|
57668
58077
|
btnViewHistoryFilesClick: function btnViewHistoryFilesClick(bodyfile) {
|
|
57669
|
-
var
|
|
58078
|
+
var _this12 = this;
|
|
57670
58079
|
this.historyDialogVisible = true;
|
|
57671
58080
|
var listdataUrl = this.wfAttachUrl + '/listAttach';
|
|
57672
58081
|
var fileId = bodyfile ? bodyfile.fileId : this.flBodyfile.fileId;
|
|
@@ -57682,18 +58091,18 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57682
58091
|
url: listdataUrl
|
|
57683
58092
|
}).then(function (res) {
|
|
57684
58093
|
if (res.code === 'success') {
|
|
57685
|
-
|
|
57686
|
-
if (
|
|
57687
|
-
|
|
57688
|
-
|
|
57689
|
-
|
|
58094
|
+
_this12.historyFiles = res.body.pageInfo.list.filter(function (attach) {
|
|
58095
|
+
if (_this12.flBodyfile.id !== attach.id && attach.fileStatus === 1 && attach.originalName === _this12.flBodyfile.originalName) {
|
|
58096
|
+
_this12.flBodyfile = attach;
|
|
58097
|
+
_this12.$vnode.context.bodyfile = _this12.flBodyfile;
|
|
58098
|
+
_this12.reloadBodyFile();
|
|
57690
58099
|
}
|
|
57691
58100
|
attach.updateTime = formatTime(attach.updateTime);
|
|
57692
58101
|
attach.avatarUrl = "/apigw" + '/base/user/downloadPhotoByAccount?orgCode=' + attach.orgCode + '&account=' + attach.updateBy + '&httpPort=' + location.port;
|
|
57693
58102
|
return true;
|
|
57694
58103
|
});
|
|
57695
58104
|
} else {
|
|
57696
|
-
|
|
58105
|
+
_this12.$dialog.alert({
|
|
57697
58106
|
message: res.message,
|
|
57698
58107
|
type: 'error'
|
|
57699
58108
|
});
|
|
@@ -57710,7 +58119,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57710
58119
|
this.clickAttach = attach;
|
|
57711
58120
|
},
|
|
57712
58121
|
moreMenuitemClick: function moreMenuitemClick(command) {
|
|
57713
|
-
var
|
|
58122
|
+
var _this13 = this;
|
|
57714
58123
|
if (command.indexOf('view') !== -1) {
|
|
57715
58124
|
this.downHistoryFile(this.clickAttach);
|
|
57716
58125
|
} else if (command.indexOf('remove') !== -1) {
|
|
@@ -57718,7 +58127,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57718
58127
|
} else if (command.indexOf('download') !== -1) {
|
|
57719
58128
|
var attachIds = this.clickAttach.id;
|
|
57720
58129
|
this.historyFiles.forEach(function (attach) {
|
|
57721
|
-
if (attach.fileVer && attach.fileVer ===
|
|
58130
|
+
if (attach.fileVer && attach.fileVer === _this13.clickAttach.fileVer && attach.id !== _this13.clickAttach.id) {
|
|
57722
58131
|
attachIds += ',' + attach.id;
|
|
57723
58132
|
}
|
|
57724
58133
|
});
|
|
@@ -57733,7 +58142,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57733
58142
|
this.showMoreBtn = false;
|
|
57734
58143
|
},
|
|
57735
58144
|
removeBodyfile: function removeBodyfile(flBodyfile) {
|
|
57736
|
-
var
|
|
58145
|
+
var _this14 = this;
|
|
57737
58146
|
var confirmMsg = this.$tx('ecmapp.wflowform.delCurrentVersion', '您是否确认删除当前版本文件?');
|
|
57738
58147
|
if (flBodyfile.fileStatus === 8) {
|
|
57739
58148
|
confirmMsg = this.$tx('ecmapp.wflowform.delHistoricalVersion', '您是否确认删除历史版本文件?');
|
|
@@ -57741,10 +58150,10 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57741
58150
|
var _this = this;
|
|
57742
58151
|
this.$dialog.confirm({
|
|
57743
58152
|
message: confirmMsg
|
|
57744
|
-
}).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
58153
|
+
}).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee6() {
|
|
57745
58154
|
var deleteIds, originalName, i;
|
|
57746
|
-
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57747
|
-
while (1) switch (
|
|
58155
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
58156
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
57748
58157
|
case 0:
|
|
57749
58158
|
deleteIds = flBodyfile.id;
|
|
57750
58159
|
originalName = flBodyfile.originalName.substring(0, flBodyfile.originalName.indexOf('.'));
|
|
@@ -57755,44 +58164,44 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57755
58164
|
}
|
|
57756
58165
|
}
|
|
57757
58166
|
}
|
|
57758
|
-
|
|
58167
|
+
_this14.$http({
|
|
57759
58168
|
method: 'DELETE',
|
|
57760
58169
|
contentType: 'application/x-www-form-urlencoded',
|
|
57761
58170
|
params: {
|
|
57762
58171
|
attachIds: deleteIds
|
|
57763
58172
|
},
|
|
57764
|
-
url:
|
|
58173
|
+
url: _this14.wfAttachUrl + '/delete'
|
|
57765
58174
|
}).then(function (res) {
|
|
57766
58175
|
if (res.code === 'success') {
|
|
57767
|
-
for (var i = 0; i <
|
|
57768
|
-
if (
|
|
57769
|
-
|
|
58176
|
+
for (var i = 0; i < _this14.attachments.length; i++) {
|
|
58177
|
+
if (_this14.attachments[i].id === flBodyfile.id || _this14.attachments[i].originalName.indexOf(originalName + '.pdf') === 0) {
|
|
58178
|
+
_this14.attachments.splice(i--, 1);
|
|
57770
58179
|
}
|
|
57771
58180
|
}
|
|
57772
|
-
|
|
58181
|
+
_this14.btnViewHistoryFilesClick(_this14.flBodyfile);
|
|
57773
58182
|
if (flBodyfile.fileStatus !== 8) {
|
|
57774
|
-
if (typeof
|
|
57775
|
-
if (typeof
|
|
57776
|
-
if (typeof
|
|
58183
|
+
if (typeof _this14.vo.flBodyFilename !== 'undefined') _this14.vo.flBodyFilename = null;
|
|
58184
|
+
if (typeof _this14.vo.signedFileName !== 'undefined') _this14.vo.signedFileName = null; //盖章文件名
|
|
58185
|
+
if (typeof _this14.vo.sealFileName !== 'undefined') _this14.vo.sealFileName = null; //签章平台文件名
|
|
57777
58186
|
|
|
57778
|
-
|
|
58187
|
+
_this14.$vnode.context.commandBar.forEach(function (btn) {
|
|
57779
58188
|
if (btn.btnCode === 'btnOpenWordClick') {
|
|
57780
58189
|
btn.btnShow = true;
|
|
57781
58190
|
}
|
|
57782
58191
|
});
|
|
57783
58192
|
if (!res.body.restoreHistoryFile) {
|
|
57784
|
-
|
|
58193
|
+
_this14.flBodyfile = {
|
|
57785
58194
|
file: {
|
|
57786
58195
|
name: ''
|
|
57787
58196
|
}
|
|
57788
58197
|
};
|
|
57789
|
-
|
|
57790
|
-
|
|
58198
|
+
_this14.$vnode.context.bodyfile = _this14.flBodyfile;
|
|
58199
|
+
_this14.$vnode.context.wfInstance.haveDoc = 0;
|
|
57791
58200
|
}
|
|
57792
|
-
|
|
58201
|
+
_this14.$vnode.context.btnSubmitClick('Save');
|
|
57793
58202
|
}
|
|
57794
58203
|
} else {
|
|
57795
|
-
|
|
58204
|
+
_this14.$dialog.alert({
|
|
57796
58205
|
message: res.message,
|
|
57797
58206
|
type: 'error'
|
|
57798
58207
|
});
|
|
@@ -57800,18 +58209,18 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57800
58209
|
});
|
|
57801
58210
|
case 4:
|
|
57802
58211
|
case "end":
|
|
57803
|
-
return
|
|
58212
|
+
return _context6.stop();
|
|
57804
58213
|
}
|
|
57805
|
-
},
|
|
58214
|
+
}, _callee6);
|
|
57806
58215
|
})));
|
|
57807
58216
|
}
|
|
57808
58217
|
}
|
|
57809
58218
|
});
|
|
57810
58219
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
57811
58220
|
/* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
|
|
57812
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=
|
|
57813
|
-
var
|
|
57814
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=
|
|
58221
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=7e1b7fa2&prod&scoped=true&lang=scss
|
|
58222
|
+
var BodyFilevue_type_style_index_0_id_7e1b7fa2_prod_scoped_true_lang_scss = __webpack_require__(4763);
|
|
58223
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=7e1b7fa2&prod&scoped=true&lang=scss
|
|
57815
58224
|
|
|
57816
58225
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
|
|
57817
58226
|
|
|
@@ -57824,11 +58233,11 @@ var BodyFilevue_type_style_index_0_id_37d9b4bc_prod_scoped_true_lang_scss = __we
|
|
|
57824
58233
|
|
|
57825
58234
|
var BodyFile_component = (0,componentNormalizer/* default */.A)(
|
|
57826
58235
|
src_BodyFilevue_type_script_lang_js,
|
|
57827
|
-
|
|
57828
|
-
|
|
58236
|
+
BodyFilevue_type_template_id_7e1b7fa2_scoped_true_render,
|
|
58237
|
+
BodyFilevue_type_template_id_7e1b7fa2_scoped_true_staticRenderFns,
|
|
57829
58238
|
false,
|
|
57830
58239
|
null,
|
|
57831
|
-
"
|
|
58240
|
+
"7e1b7fa2",
|
|
57832
58241
|
null
|
|
57833
58242
|
|
|
57834
58243
|
)
|
|
@@ -58529,8 +58938,8 @@ var SelectOuterDeputy_component = (0,componentNormalizer/* default */.A)(
|
|
|
58529
58938
|
)
|
|
58530
58939
|
|
|
58531
58940
|
/* harmony default export */ var SelectOuterDeputy = (SelectOuterDeputy_component.exports);
|
|
58532
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=template&id=
|
|
58533
|
-
var
|
|
58941
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=template&id=ac8cafcc&scoped=true
|
|
58942
|
+
var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render = function render() {
|
|
58534
58943
|
var _vm = this,
|
|
58535
58944
|
_c = _vm._self._c;
|
|
58536
58945
|
return _vm.initiated ? _c('div', {
|
|
@@ -59142,18 +59551,811 @@ var SubmitHandlevue_type_template_id_5be1797c_scoped_true_render = function rend
|
|
|
59142
59551
|
_vm.wfNodeDialogVisible = $event;
|
|
59143
59552
|
}
|
|
59144
59553
|
}
|
|
59145
|
-
}
|
|
59554
|
+
}, [_c('WfTaskNode', {
|
|
59555
|
+
attrs: {
|
|
59556
|
+
"task-node": _vm.udmNode,
|
|
59557
|
+
"idea-lables": _vm.wfJsonData.ideaLables
|
|
59558
|
+
}
|
|
59559
|
+
})], 1) : _vm._e()], 2) : _vm._e();
|
|
59560
|
+
};
|
|
59561
|
+
var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_staticRenderFns = [];
|
|
59562
|
+
|
|
59563
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/WfTaskNode.vue?vue&type=template&id=59c2fbd4&scoped=true
|
|
59564
|
+
var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render() {
|
|
59565
|
+
var _vm = this,
|
|
59566
|
+
_c = _vm._self._c;
|
|
59567
|
+
return _c('div', [_c('van-cell-group', [_c('div', {
|
|
59568
|
+
staticClass: "van-input-field"
|
|
59569
|
+
}, [_c('validation-provider', {
|
|
59570
|
+
staticClass: "cell_item",
|
|
59571
|
+
attrs: {
|
|
59572
|
+
"name": _vm.$tx('ecmapp.wflowform.fields.linkName', '环节名称'),
|
|
59573
|
+
"rules": {
|
|
59574
|
+
required: true
|
|
59575
|
+
}
|
|
59576
|
+
},
|
|
59577
|
+
scopedSlots: _vm._u([{
|
|
59578
|
+
key: "default",
|
|
59579
|
+
fn: function fn(_ref) {
|
|
59580
|
+
var errors = _ref.errors;
|
|
59581
|
+
return [_c('van-field', {
|
|
59582
|
+
directives: [{
|
|
59583
|
+
name: "field-lbl",
|
|
59584
|
+
rawName: "v-field-lbl",
|
|
59585
|
+
value: 'linkName',
|
|
59586
|
+
expression: "'linkName'"
|
|
59587
|
+
}],
|
|
59588
|
+
attrs: {
|
|
59589
|
+
"label": "环节名称",
|
|
59590
|
+
"placeholder": "请输入",
|
|
59591
|
+
"error": errors !== undefined && errors[0] !== undefined || _vm.iserror,
|
|
59592
|
+
"input-align": "right",
|
|
59593
|
+
"maxlength": 20
|
|
59594
|
+
},
|
|
59595
|
+
model: {
|
|
59596
|
+
value: _vm.taskNode.name,
|
|
59597
|
+
callback: function callback($$v) {
|
|
59598
|
+
_vm.$set(_vm.taskNode, "name", $$v);
|
|
59599
|
+
},
|
|
59600
|
+
expression: "taskNode.name"
|
|
59601
|
+
}
|
|
59602
|
+
})];
|
|
59603
|
+
}
|
|
59604
|
+
}])
|
|
59605
|
+
})], 1), _c('div', {
|
|
59606
|
+
staticClass: "van-input-field"
|
|
59607
|
+
}, [_c('validation-provider', {
|
|
59608
|
+
ref: "ValidationProvider",
|
|
59609
|
+
attrs: {
|
|
59610
|
+
"name": _vm.$tx('ecmapp.wflowform.fields.taskType', '任务类型'),
|
|
59611
|
+
"rules": "required"
|
|
59612
|
+
},
|
|
59613
|
+
scopedSlots: _vm._u([{
|
|
59614
|
+
key: "default",
|
|
59615
|
+
fn: function fn(_ref2) {
|
|
59616
|
+
var errors = _ref2.errors;
|
|
59617
|
+
return [_c('van-field', {
|
|
59618
|
+
directives: [{
|
|
59619
|
+
name: "field-lbl",
|
|
59620
|
+
rawName: "v-field-lbl",
|
|
59621
|
+
value: 'taskType',
|
|
59622
|
+
expression: "'taskType'"
|
|
59623
|
+
}],
|
|
59624
|
+
attrs: {
|
|
59625
|
+
"label": "任务类型",
|
|
59626
|
+
"placeholder": "请选择",
|
|
59627
|
+
"input-align": "right",
|
|
59628
|
+
"is-link": !_vm.taskNode.startNode,
|
|
59629
|
+
"readonly": _vm.taskNode.startNode
|
|
59630
|
+
},
|
|
59631
|
+
on: {
|
|
59632
|
+
"click": function click($event) {
|
|
59633
|
+
return _vm.selectItem('任务类型', 'todoMode');
|
|
59634
|
+
}
|
|
59635
|
+
},
|
|
59636
|
+
model: {
|
|
59637
|
+
value: _vm.todoMode,
|
|
59638
|
+
callback: function callback($$v) {
|
|
59639
|
+
_vm.todoMode = $$v;
|
|
59640
|
+
},
|
|
59641
|
+
expression: "todoMode"
|
|
59642
|
+
}
|
|
59643
|
+
})];
|
|
59644
|
+
}
|
|
59645
|
+
}])
|
|
59646
|
+
})], 1), _c('div', {
|
|
59647
|
+
staticClass: "van-input-field"
|
|
59648
|
+
}, [_c('validation-provider', {
|
|
59649
|
+
ref: "ValidationProvider",
|
|
59650
|
+
attrs: {
|
|
59651
|
+
"name": _vm.$tx('ecmapp.wflowform.fields.handleMethod', '处理人选择方式'),
|
|
59652
|
+
"rules": "required"
|
|
59653
|
+
},
|
|
59654
|
+
scopedSlots: _vm._u([{
|
|
59655
|
+
key: "default",
|
|
59656
|
+
fn: function fn(_ref3) {
|
|
59657
|
+
var errors = _ref3.errors;
|
|
59658
|
+
return [_c('van-field', {
|
|
59659
|
+
directives: [{
|
|
59660
|
+
name: "field-lbl",
|
|
59661
|
+
rawName: "v-field-lbl",
|
|
59662
|
+
value: 'handleMethod',
|
|
59663
|
+
expression: "'handleMethod'"
|
|
59664
|
+
}],
|
|
59665
|
+
attrs: {
|
|
59666
|
+
"label": "处理人选择方式",
|
|
59667
|
+
"placeholder": "请选择",
|
|
59668
|
+
"input-align": "right",
|
|
59669
|
+
"is-link": !_vm.taskNode.startNode,
|
|
59670
|
+
"readonly": _vm.taskNode.startNode
|
|
59671
|
+
},
|
|
59672
|
+
on: {
|
|
59673
|
+
"click": function click($event) {
|
|
59674
|
+
return _vm.selectItem('处理人选择方式', 'selectType');
|
|
59675
|
+
}
|
|
59676
|
+
},
|
|
59677
|
+
model: {
|
|
59678
|
+
value: _vm.selectType,
|
|
59679
|
+
callback: function callback($$v) {
|
|
59680
|
+
_vm.selectType = $$v;
|
|
59681
|
+
},
|
|
59682
|
+
expression: "selectType"
|
|
59683
|
+
}
|
|
59684
|
+
})];
|
|
59685
|
+
}
|
|
59686
|
+
}])
|
|
59687
|
+
})], 1), _c('div', {
|
|
59688
|
+
directives: [{
|
|
59689
|
+
name: "show",
|
|
59690
|
+
rawName: "v-show",
|
|
59691
|
+
value: _vm.taskNode.selectType == 0 || _vm.taskNode.selectType == 9,
|
|
59692
|
+
expression: "taskNode.selectType == 0 || taskNode.selectType == 9"
|
|
59693
|
+
}],
|
|
59694
|
+
staticClass: "van-input-field"
|
|
59695
|
+
}, [_c('validation-provider', {
|
|
59696
|
+
ref: "ValidationProvider",
|
|
59697
|
+
attrs: {
|
|
59698
|
+
"name": '组织机构级别',
|
|
59699
|
+
"rules": "required"
|
|
59700
|
+
},
|
|
59701
|
+
scopedSlots: _vm._u([{
|
|
59702
|
+
key: "default",
|
|
59703
|
+
fn: function fn(_ref4) {
|
|
59704
|
+
var errors = _ref4.errors;
|
|
59705
|
+
return [_c('van-field', {
|
|
59706
|
+
attrs: {
|
|
59707
|
+
"label": "组织机构级别",
|
|
59708
|
+
"placeholder": "请选择",
|
|
59709
|
+
"input-align": "right",
|
|
59710
|
+
"is-link": !_vm.taskNode.startNode,
|
|
59711
|
+
"readonly": _vm.taskNode.startNode
|
|
59712
|
+
},
|
|
59713
|
+
on: {
|
|
59714
|
+
"click": function click($event) {
|
|
59715
|
+
return _vm.selectItem('组织机构级别', 'orgLevel');
|
|
59716
|
+
}
|
|
59717
|
+
},
|
|
59718
|
+
model: {
|
|
59719
|
+
value: _vm.orgLevel,
|
|
59720
|
+
callback: function callback($$v) {
|
|
59721
|
+
_vm.orgLevel = $$v;
|
|
59722
|
+
},
|
|
59723
|
+
expression: "orgLevel"
|
|
59724
|
+
}
|
|
59725
|
+
})];
|
|
59726
|
+
}
|
|
59727
|
+
}])
|
|
59728
|
+
})], 1), _c('div', {
|
|
59729
|
+
directives: [{
|
|
59730
|
+
name: "show",
|
|
59731
|
+
rawName: "v-show",
|
|
59732
|
+
value: (_vm.taskNode.selectType == 0 || _vm.taskNode.selectType == 9) && _vm.taskNode.orgLevel != 1 && _vm.taskNode.orgLevel != 5,
|
|
59733
|
+
expression: "(taskNode.selectType == 0 || taskNode.selectType == 9) && taskNode.orgLevel != 1 && taskNode.orgLevel != 5"
|
|
59734
|
+
}],
|
|
59735
|
+
staticClass: "van-input-field"
|
|
59736
|
+
}, [_c('validation-provider', {
|
|
59737
|
+
ref: "ValidationProvider",
|
|
59738
|
+
attrs: {
|
|
59739
|
+
"name": '机构筛选方式',
|
|
59740
|
+
"rules": "required"
|
|
59741
|
+
},
|
|
59742
|
+
scopedSlots: _vm._u([{
|
|
59743
|
+
key: "default",
|
|
59744
|
+
fn: function fn(_ref5) {
|
|
59745
|
+
var errors = _ref5.errors;
|
|
59746
|
+
return [_c('van-field', {
|
|
59747
|
+
attrs: {
|
|
59748
|
+
"label": "机构筛选方式",
|
|
59749
|
+
"placeholder": "请选择",
|
|
59750
|
+
"input-align": "right",
|
|
59751
|
+
"is-link": !_vm.taskNode.startNode,
|
|
59752
|
+
"readonly": _vm.taskNode.startNode
|
|
59753
|
+
},
|
|
59754
|
+
on: {
|
|
59755
|
+
"click": function click($event) {
|
|
59756
|
+
return _vm.selectItem('机构筛选方式', 'orgStaffFilterType');
|
|
59757
|
+
}
|
|
59758
|
+
},
|
|
59759
|
+
model: {
|
|
59760
|
+
value: _vm.orgStaffFilterType,
|
|
59761
|
+
callback: function callback($$v) {
|
|
59762
|
+
_vm.orgStaffFilterType = $$v;
|
|
59763
|
+
},
|
|
59764
|
+
expression: "orgStaffFilterType"
|
|
59765
|
+
}
|
|
59766
|
+
})];
|
|
59767
|
+
}
|
|
59768
|
+
}])
|
|
59769
|
+
})], 1), _c('div', {
|
|
59770
|
+
staticClass: "van-input-field"
|
|
59771
|
+
}, [_vm.taskNode.selectType == 0 ? _c('van-field', {
|
|
59772
|
+
directives: [{
|
|
59773
|
+
name: "field-lbl",
|
|
59774
|
+
rawName: "v-field-lbl",
|
|
59775
|
+
value: 'zdPersonal',
|
|
59776
|
+
expression: "'zdPersonal'"
|
|
59777
|
+
}],
|
|
59778
|
+
attrs: {
|
|
59779
|
+
"label": "处理人指定人员",
|
|
59780
|
+
"placeholder": "请选择",
|
|
59781
|
+
"input-align": "right",
|
|
59782
|
+
"is-link": !_vm.taskNode.startNode,
|
|
59783
|
+
"readonly": _vm.taskNode.startNode
|
|
59784
|
+
},
|
|
59785
|
+
on: {
|
|
59786
|
+
"click": function click($event) {
|
|
59787
|
+
return _vm.openSelectDialog('staff', 'userNames');
|
|
59788
|
+
}
|
|
59789
|
+
},
|
|
59790
|
+
model: {
|
|
59791
|
+
value: _vm.taskNode.userNames,
|
|
59792
|
+
callback: function callback($$v) {
|
|
59793
|
+
_vm.$set(_vm.taskNode, "userNames", $$v);
|
|
59794
|
+
},
|
|
59795
|
+
expression: "taskNode.userNames"
|
|
59796
|
+
}
|
|
59797
|
+
}) : _vm._e(), _vm.taskNode.selectType == 1 ? _c('van-field', {
|
|
59798
|
+
directives: [{
|
|
59799
|
+
name: "field-lbl",
|
|
59800
|
+
rawName: "v-field-lbl",
|
|
59801
|
+
value: 'zdDept',
|
|
59802
|
+
expression: "'zdDept'"
|
|
59803
|
+
}],
|
|
59804
|
+
attrs: {
|
|
59805
|
+
"label": "处理人指定部门",
|
|
59806
|
+
"placeholder": "请选择",
|
|
59807
|
+
"input-align": "right",
|
|
59808
|
+
"is-link": !_vm.taskNode.startNode,
|
|
59809
|
+
"readonly": _vm.taskNode.startNode
|
|
59810
|
+
},
|
|
59811
|
+
on: {
|
|
59812
|
+
"click": function click($event) {
|
|
59813
|
+
return _vm.openSelectDialog('suborg', 'orgNames');
|
|
59814
|
+
}
|
|
59815
|
+
},
|
|
59816
|
+
model: {
|
|
59817
|
+
value: _vm.taskNode.orgNames,
|
|
59818
|
+
callback: function callback($$v) {
|
|
59819
|
+
_vm.$set(_vm.taskNode, "orgNames", $$v);
|
|
59820
|
+
},
|
|
59821
|
+
expression: "taskNode.orgNames"
|
|
59822
|
+
}
|
|
59823
|
+
}) : _vm._e(), _vm.taskNode.selectType == 2 ? _c('van-field', {
|
|
59824
|
+
directives: [{
|
|
59825
|
+
name: "field-lbl",
|
|
59826
|
+
rawName: "v-field-lbl",
|
|
59827
|
+
value: 'zdGroup',
|
|
59828
|
+
expression: "'zdGroup'"
|
|
59829
|
+
}],
|
|
59830
|
+
attrs: {
|
|
59831
|
+
"label": "处理人指定群组",
|
|
59832
|
+
"placeholder": "请选择",
|
|
59833
|
+
"input-align": "right",
|
|
59834
|
+
"is-link": !_vm.taskNode.startNode,
|
|
59835
|
+
"readonly": _vm.taskNode.startNode
|
|
59836
|
+
},
|
|
59837
|
+
on: {
|
|
59838
|
+
"click": function click($event) {
|
|
59839
|
+
return _vm.openSelectDialog('workgroup', 'workgroupNames');
|
|
59840
|
+
}
|
|
59841
|
+
},
|
|
59842
|
+
model: {
|
|
59843
|
+
value: _vm.taskNode.workgroupNames,
|
|
59844
|
+
callback: function callback($$v) {
|
|
59845
|
+
_vm.$set(_vm.taskNode, "workgroupNames", $$v);
|
|
59846
|
+
},
|
|
59847
|
+
expression: "taskNode.workgroupNames"
|
|
59848
|
+
}
|
|
59849
|
+
}) : _vm._e(), _vm.taskNode.selectType == 3 ? _c('van-field', {
|
|
59850
|
+
directives: [{
|
|
59851
|
+
name: "field-lbl",
|
|
59852
|
+
rawName: "v-field-lbl",
|
|
59853
|
+
value: 'zdJobPostion',
|
|
59854
|
+
expression: "'zdJobPostion'"
|
|
59855
|
+
}],
|
|
59856
|
+
attrs: {
|
|
59857
|
+
"label": "处理人指定岗位",
|
|
59858
|
+
"placeholder": "请选择",
|
|
59859
|
+
"input-align": "right",
|
|
59860
|
+
"is-link": !_vm.taskNode.startNode,
|
|
59861
|
+
"readonly": _vm.taskNode.startNode
|
|
59862
|
+
},
|
|
59863
|
+
on: {
|
|
59864
|
+
"click": function click($event) {
|
|
59865
|
+
return _vm.openSelectDialog('jobPosition', 'jopPositionNames');
|
|
59866
|
+
}
|
|
59867
|
+
},
|
|
59868
|
+
model: {
|
|
59869
|
+
value: _vm.taskNode.jopPositionNames,
|
|
59870
|
+
callback: function callback($$v) {
|
|
59871
|
+
_vm.$set(_vm.taskNode, "jopPositionNames", $$v);
|
|
59872
|
+
},
|
|
59873
|
+
expression: "taskNode.jopPositionNames"
|
|
59874
|
+
}
|
|
59875
|
+
}) : _vm._e()], 1), _c('div', {
|
|
59876
|
+
staticClass: "van-input-field"
|
|
59877
|
+
}, [_c('van-cell', {
|
|
59878
|
+
directives: [{
|
|
59879
|
+
name: "field-lbl",
|
|
59880
|
+
rawName: "v-field-lbl",
|
|
59881
|
+
value: 'editPermissions',
|
|
59882
|
+
expression: "'editPermissions'"
|
|
59883
|
+
}],
|
|
59884
|
+
attrs: {
|
|
59885
|
+
"center": "",
|
|
59886
|
+
"title": "编辑权限"
|
|
59887
|
+
},
|
|
59888
|
+
scopedSlots: _vm._u([{
|
|
59889
|
+
key: "right-icon",
|
|
59890
|
+
fn: function fn() {
|
|
59891
|
+
return [_c('van-switch', {
|
|
59892
|
+
attrs: {
|
|
59893
|
+
"active-value": 1,
|
|
59894
|
+
"inactive-value": 0,
|
|
59895
|
+
"size": "24"
|
|
59896
|
+
},
|
|
59897
|
+
model: {
|
|
59898
|
+
value: _vm.taskNode.canEdit,
|
|
59899
|
+
callback: function callback($$v) {
|
|
59900
|
+
_vm.$set(_vm.taskNode, "canEdit", $$v);
|
|
59901
|
+
},
|
|
59902
|
+
expression: "taskNode.canEdit"
|
|
59903
|
+
}
|
|
59904
|
+
})];
|
|
59905
|
+
},
|
|
59906
|
+
proxy: true
|
|
59907
|
+
}])
|
|
59908
|
+
})], 1), _c('div', {
|
|
59909
|
+
staticClass: "van-input-field"
|
|
59910
|
+
}, [_c('validation-provider', {
|
|
59911
|
+
ref: "ValidationProvider",
|
|
59912
|
+
attrs: {
|
|
59913
|
+
"name": _vm.$tx('ecmapp.wflowform.fields.opinionLabel', '处理意见标签'),
|
|
59914
|
+
"rules": "required"
|
|
59915
|
+
},
|
|
59916
|
+
scopedSlots: _vm._u([{
|
|
59917
|
+
key: "default",
|
|
59918
|
+
fn: function fn(_ref6) {
|
|
59919
|
+
var errors = _ref6.errors;
|
|
59920
|
+
return [_c('van-field', {
|
|
59921
|
+
directives: [{
|
|
59922
|
+
name: "field-lbl",
|
|
59923
|
+
rawName: "v-field-lbl",
|
|
59924
|
+
value: 'opinionLabel',
|
|
59925
|
+
expression: "'opinionLabel'"
|
|
59926
|
+
}],
|
|
59927
|
+
attrs: {
|
|
59928
|
+
"label": "处理意见标签",
|
|
59929
|
+
"placeholder": "请选择",
|
|
59930
|
+
"input-align": "right",
|
|
59931
|
+
"is-link": true,
|
|
59932
|
+
"readonly": _vm.taskNode.startNode
|
|
59933
|
+
},
|
|
59934
|
+
on: {
|
|
59935
|
+
"click": function click($event) {
|
|
59936
|
+
return _vm.selectItem('处理意见标签', 'ideaLable');
|
|
59937
|
+
}
|
|
59938
|
+
},
|
|
59939
|
+
model: {
|
|
59940
|
+
value: _vm.taskNode.ideaLable,
|
|
59941
|
+
callback: function callback($$v) {
|
|
59942
|
+
_vm.$set(_vm.taskNode, "ideaLable", $$v);
|
|
59943
|
+
},
|
|
59944
|
+
expression: "taskNode.ideaLable"
|
|
59945
|
+
}
|
|
59946
|
+
})];
|
|
59947
|
+
}
|
|
59948
|
+
}])
|
|
59949
|
+
})], 1)]), _c('FooterButtonGroup', [_c('van-button', {
|
|
59950
|
+
directives: [{
|
|
59951
|
+
name: "pageBtn-lbl",
|
|
59952
|
+
rawName: "v-pageBtn-lbl",
|
|
59953
|
+
value: 'cancel',
|
|
59954
|
+
expression: "'cancel'"
|
|
59955
|
+
}],
|
|
59956
|
+
attrs: {
|
|
59957
|
+
"square": ""
|
|
59958
|
+
},
|
|
59959
|
+
on: {
|
|
59960
|
+
"click": _vm.closeDialog
|
|
59961
|
+
}
|
|
59962
|
+
}, [_vm._v("取 消")]), _c('van-button', {
|
|
59963
|
+
directives: [{
|
|
59964
|
+
name: "pageBtn-lbl",
|
|
59965
|
+
rawName: "v-pageBtn-lbl",
|
|
59966
|
+
value: 'sure',
|
|
59967
|
+
expression: "'sure'"
|
|
59968
|
+
}],
|
|
59969
|
+
attrs: {
|
|
59970
|
+
"type": "info",
|
|
59971
|
+
"square": ""
|
|
59972
|
+
},
|
|
59973
|
+
on: {
|
|
59974
|
+
"click": _vm.submitForm
|
|
59975
|
+
}
|
|
59976
|
+
}, [_vm._v("确 定")])], 1)], 1);
|
|
59146
59977
|
};
|
|
59147
|
-
var
|
|
59978
|
+
var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
|
|
59979
|
+
|
|
59980
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/WfTaskNode.vue?vue&type=script&lang=js
|
|
59981
|
+
/* harmony default export */ var WfTaskNodevue_type_script_lang_js = ({
|
|
59982
|
+
name: 'WfTaskNode',
|
|
59983
|
+
components: {},
|
|
59984
|
+
props: {
|
|
59985
|
+
taskNode: {
|
|
59986
|
+
type: Object,
|
|
59987
|
+
default: function _default() {
|
|
59988
|
+
return {};
|
|
59989
|
+
}
|
|
59990
|
+
},
|
|
59991
|
+
ideaLables: {
|
|
59992
|
+
type: String,
|
|
59993
|
+
default: ''
|
|
59994
|
+
}
|
|
59995
|
+
},
|
|
59996
|
+
data: function data() {
|
|
59997
|
+
return {
|
|
59998
|
+
i18npkg: 'ecmapp',
|
|
59999
|
+
moduleCode: 'wflowform',
|
|
60000
|
+
forceUpdate: false,
|
|
60001
|
+
dialogFormVisible: true,
|
|
60002
|
+
todoModeOptions: [{
|
|
60003
|
+
value: 0,
|
|
60004
|
+
text: this.$tx('ecmapp.wflowform.singlePerson', '单人')
|
|
60005
|
+
}, {
|
|
60006
|
+
value: 1,
|
|
60007
|
+
text: this.$tx('ecmapp.wflowform.multiplayerParallel', '多人并行')
|
|
60008
|
+
}, {
|
|
60009
|
+
value: 2,
|
|
60010
|
+
text: this.$tx('ecmapp.wflowform.multiPersonSignature', '多人会签')
|
|
60011
|
+
}, {
|
|
60012
|
+
value: 3,
|
|
60013
|
+
text: this.$tx('ecmapp.wflowform.multiplayerSerial', '多人串行')
|
|
60014
|
+
}, {
|
|
60015
|
+
value: 4,
|
|
60016
|
+
text: this.$tx('ecmapp.wflowform.multiplayerCompetition', '多人竞争')
|
|
60017
|
+
}, {
|
|
60018
|
+
value: 5,
|
|
60019
|
+
text: this.$tx('ecmapp.wflowform.multiPersonReading', '多人阅文')
|
|
60020
|
+
}],
|
|
60021
|
+
selectTypeOptions: [{
|
|
60022
|
+
value: 0,
|
|
60023
|
+
text: this.$tx('ecmapp.Wflowform.byDepartment', '按组织机构')
|
|
60024
|
+
}, {
|
|
60025
|
+
value: 7,
|
|
60026
|
+
text: this.$tx('ecmapp.Wflowform.byJobPosition', '按工作岗位')
|
|
60027
|
+
}, {
|
|
60028
|
+
value: 1,
|
|
60029
|
+
text: this.$tx('ecmapp.Wflowform.byWorkgroup', '按工作群组')
|
|
60030
|
+
}, {
|
|
60031
|
+
value: 9,
|
|
60032
|
+
text: this.$tx('ecmapp.Wflowform.byJobRank', '按处理人职级')
|
|
60033
|
+
}, {
|
|
60034
|
+
value: 2,
|
|
60035
|
+
text: this.$tx('ecmapp.Wflowform.byHistoryTNUser', '历史节点处理人')
|
|
60036
|
+
}, {
|
|
60037
|
+
value: 3,
|
|
60038
|
+
text: this.$tx('ecmapp.Wflowform.designatedPersonnel', '直接指定人员')
|
|
60039
|
+
}],
|
|
60040
|
+
orgLevelOptions: [{
|
|
60041
|
+
value: 1,
|
|
60042
|
+
text: '一级(公司级)'
|
|
60043
|
+
}, {
|
|
60044
|
+
value: 2,
|
|
60045
|
+
text: '二级(部门级)'
|
|
60046
|
+
}, {
|
|
60047
|
+
value: 3,
|
|
60048
|
+
text: '三级(科室级)'
|
|
60049
|
+
}, {
|
|
60050
|
+
value: 4,
|
|
60051
|
+
text: '四级(班组级)'
|
|
60052
|
+
}],
|
|
60053
|
+
todoMode: '单人',
|
|
60054
|
+
selectType: '直接指定人员',
|
|
60055
|
+
orgLevel: '',
|
|
60056
|
+
orgStaffFilterType: '',
|
|
60057
|
+
curNodeName: ''
|
|
60058
|
+
};
|
|
60059
|
+
},
|
|
60060
|
+
computed: {
|
|
60061
|
+
ideaLableOptions: function ideaLableOptions() {
|
|
60062
|
+
var ideaLablelist = [];
|
|
60063
|
+
this.ideaLables.split(',').forEach(function (lable) {
|
|
60064
|
+
ideaLablelist.push({
|
|
60065
|
+
value: lable,
|
|
60066
|
+
text: lable
|
|
60067
|
+
});
|
|
60068
|
+
});
|
|
60069
|
+
ideaLablelist.push({
|
|
60070
|
+
value: '无',
|
|
60071
|
+
text: '无'
|
|
60072
|
+
});
|
|
60073
|
+
return ideaLablelist;
|
|
60074
|
+
},
|
|
60075
|
+
orgStaffFilterTypeOptions: function orgStaffFilterTypeOptions() {
|
|
60076
|
+
var orgStaffFilterType = [{
|
|
60077
|
+
value: 0,
|
|
60078
|
+
text: '不筛选'
|
|
60079
|
+
}];
|
|
60080
|
+
if (this.taskNode.orgLevel === 2) {
|
|
60081
|
+
orgStaffFilterType.push({
|
|
60082
|
+
value: 1,
|
|
60083
|
+
text: '指定部门'
|
|
60084
|
+
});
|
|
60085
|
+
orgStaffFilterType.push({
|
|
60086
|
+
value: 2,
|
|
60087
|
+
text: '当前用户所在部门'
|
|
60088
|
+
});
|
|
60089
|
+
orgStaffFilterType.push({
|
|
60090
|
+
value: 3,
|
|
60091
|
+
text: '拟稿用户所在部门'
|
|
60092
|
+
});
|
|
60093
|
+
} else if (this.taskNode.orgLevel === 3) {
|
|
60094
|
+
orgStaffFilterType[0].text = '部门内不筛选';
|
|
60095
|
+
orgStaffFilterType.push({
|
|
60096
|
+
value: 5,
|
|
60097
|
+
text: '所有不筛选'
|
|
60098
|
+
});
|
|
60099
|
+
orgStaffFilterType.push({
|
|
60100
|
+
value: 1,
|
|
60101
|
+
text: '指定科室'
|
|
60102
|
+
});
|
|
60103
|
+
orgStaffFilterType.push({
|
|
60104
|
+
value: 2,
|
|
60105
|
+
text: '当前用户所在科室'
|
|
60106
|
+
});
|
|
60107
|
+
orgStaffFilterType.push({
|
|
60108
|
+
value: 3,
|
|
60109
|
+
text: '拟稿用户所在科室'
|
|
60110
|
+
});
|
|
60111
|
+
} else if (this.taskNode.orgLevel === 4) {
|
|
60112
|
+
orgStaffFilterType[0].text = '科室内不筛选';
|
|
60113
|
+
orgStaffFilterType.push({
|
|
60114
|
+
value: 1,
|
|
60115
|
+
text: '指定班组'
|
|
60116
|
+
});
|
|
60117
|
+
orgStaffFilterType.push({
|
|
60118
|
+
value: 2,
|
|
60119
|
+
text: '当前用户所在班组'
|
|
60120
|
+
});
|
|
60121
|
+
orgStaffFilterType.push({
|
|
60122
|
+
value: 3,
|
|
60123
|
+
text: '拟稿用户所在班组'
|
|
60124
|
+
});
|
|
60125
|
+
}
|
|
60126
|
+
return orgStaffFilterType;
|
|
60127
|
+
}
|
|
60128
|
+
},
|
|
60129
|
+
watch: {
|
|
60130
|
+
taskNode: {
|
|
60131
|
+
handler: function handler(newValue, oldValue) {
|
|
60132
|
+
var _this = this;
|
|
60133
|
+
if (this.taskNode.selectType !== undefined) {
|
|
60134
|
+
this.selectTypeOptions.forEach(function (item) {
|
|
60135
|
+
if (item.value === _this.taskNode.selectType) {
|
|
60136
|
+
_this.selectType = item.text;
|
|
60137
|
+
}
|
|
60138
|
+
});
|
|
60139
|
+
}
|
|
60140
|
+
if (this.taskNode.todoMode !== undefined) {
|
|
60141
|
+
this.todoMode = this.todoModeOptions[this.taskNode.todoMode].text;
|
|
60142
|
+
}
|
|
60143
|
+
if (this.taskNode.orgLevel !== undefined) {
|
|
60144
|
+
this.orgLevel = this.orgLevelOptions[this.taskNode.orgLevel - 1].text;
|
|
60145
|
+
}
|
|
60146
|
+
if (this.taskNode.orgStaffFilterType !== undefined) {
|
|
60147
|
+
this.orgStaffFilterTypeOptions.forEach(function (item) {
|
|
60148
|
+
if (item.value === _this.taskNode.orgStaffFilterType) {
|
|
60149
|
+
_this.orgStaffFilterType = item.text;
|
|
60150
|
+
}
|
|
60151
|
+
});
|
|
60152
|
+
}
|
|
60153
|
+
},
|
|
60154
|
+
deep: true,
|
|
60155
|
+
immediate: true
|
|
60156
|
+
}
|
|
60157
|
+
},
|
|
60158
|
+
created: function created() {
|
|
60159
|
+
if (this.taskNode.selectType === undefined) {
|
|
60160
|
+
this.taskNode.selectType = 0;
|
|
60161
|
+
}
|
|
60162
|
+
if (this.taskNode.status === 1) {
|
|
60163
|
+
this.curNodeName = this.taskNode.name;
|
|
60164
|
+
}
|
|
60165
|
+
},
|
|
60166
|
+
beforeDestroy: function beforeDestroy() {},
|
|
60167
|
+
mounted: function mounted() {
|
|
60168
|
+
if (this.taskNode.startNode) {
|
|
60169
|
+
//开始节点,删除“历史节点处理人”选项
|
|
60170
|
+
this.selectTypeOptions.splice(4, 1);
|
|
60171
|
+
}
|
|
60172
|
+
},
|
|
60173
|
+
methods: {
|
|
60174
|
+
selectItem: function selectItem(title, field) {
|
|
60175
|
+
var _this2 = this;
|
|
60176
|
+
if (this.taskNode.startNode) return;
|
|
60177
|
+
var dialogTitle = this.$tx('common.plChoose', '请选择') + title;
|
|
60178
|
+
this.$bus.emit('openListitemDialog', dialogTitle, this[field + 'Options'], function (res) {
|
|
60179
|
+
if (res.code === 'success') {
|
|
60180
|
+
_this2.$set(_this2.taskNode, field, res.value.value);
|
|
60181
|
+
_this2.$forceUpdate();
|
|
60182
|
+
}
|
|
60183
|
+
}, this.taskNode[field], false, 'bottomDialog');
|
|
60184
|
+
},
|
|
60185
|
+
openSelectDialog: function openSelectDialog(dialogType, field) {
|
|
60186
|
+
var _this3 = this;
|
|
60187
|
+
if (this.taskNode.startNode) return;
|
|
60188
|
+
var condition = {
|
|
60189
|
+
selectDialog: dialogType,
|
|
60190
|
+
multiple: true,
|
|
60191
|
+
'org-level': '2'
|
|
60192
|
+
};
|
|
60193
|
+
var dialogTitle = this.$tx('common.plChoose', '请选择');
|
|
60194
|
+
this.$bus.emit('openTreeDialog', dialogTitle, condition, null, function (res) {
|
|
60195
|
+
if (res.code === 'success') {
|
|
60196
|
+
var callbackFunc = 'onSelect' + dialogType.replace(dialogType[0], dialogType[0].toUpperCase()) + 'Completed';
|
|
60197
|
+
_this3[callbackFunc](res.value, {
|
|
60198
|
+
name: _this3.model
|
|
60199
|
+
});
|
|
60200
|
+
}
|
|
60201
|
+
}, this.taskNode[field]);
|
|
60202
|
+
},
|
|
60203
|
+
// 选择人员
|
|
60204
|
+
onSelectStaffCompleted: function onSelectStaffCompleted(selectedNodes, attr) {
|
|
60205
|
+
var selected = '';
|
|
60206
|
+
selectedNodes.forEach(function (node) {
|
|
60207
|
+
if (selected !== '') selected += '、';
|
|
60208
|
+
selected += node.name;
|
|
60209
|
+
});
|
|
60210
|
+
this.taskNode.users = selectedNodes;
|
|
60211
|
+
this.$set(this.taskNode, 'userNames', selected);
|
|
60212
|
+
this.$set(this.taskNode, 'orgNames', '');
|
|
60213
|
+
this.$set(this.taskNode, 'workgroupNames', '');
|
|
60214
|
+
this.$set(this.taskNode, 'jobPositionNames', '');
|
|
60215
|
+
},
|
|
60216
|
+
// 选择部门、科室、班组
|
|
60217
|
+
onSelectSuborgCompleted: function onSelectSuborgCompleted(selectedNodes, attr) {
|
|
60218
|
+
selectedNodes = JSON.parse(JSON.stringify(selectedNodes));
|
|
60219
|
+
var selected = '';
|
|
60220
|
+
selectedNodes.forEach(function (node) {
|
|
60221
|
+
if (selected !== '') selected += '、';
|
|
60222
|
+
selected += node.name;
|
|
60223
|
+
node.orgId = node.id;
|
|
60224
|
+
delete node.id;
|
|
60225
|
+
});
|
|
60226
|
+
this.taskNode.users = selectedNodes;
|
|
60227
|
+
this.$set(this.taskNode, 'userNames', '');
|
|
60228
|
+
this.$set(this.taskNode, 'orgNames', selected);
|
|
60229
|
+
this.$set(this.taskNode, 'workgroupNames', '');
|
|
60230
|
+
this.$set(this.taskNode, 'jobPositionNames', '');
|
|
60231
|
+
},
|
|
60232
|
+
// 选择工作群组
|
|
60233
|
+
onSelectWorkgroupCompleted: function onSelectWorkgroupCompleted(selectedNodes, attr) {
|
|
60234
|
+
selectedNodes = JSON.parse(JSON.stringify(selectedNodes));
|
|
60235
|
+
var selected = '';
|
|
60236
|
+
selectedNodes.forEach(function (node) {
|
|
60237
|
+
if (selected !== '') selected += '、';
|
|
60238
|
+
selected += node.name;
|
|
60239
|
+
node.workgroupId = node.id;
|
|
60240
|
+
delete node.id;
|
|
60241
|
+
});
|
|
60242
|
+
this.taskNode.users = selectedNodes;
|
|
60243
|
+
this.$set(this.taskNode, 'userNames', '');
|
|
60244
|
+
this.$set(this.taskNode, 'orgNames', '');
|
|
60245
|
+
this.$set(this.taskNode, 'workgroupNames', selected);
|
|
60246
|
+
this.$set(this.taskNode, 'jobPositionNames', '');
|
|
60247
|
+
},
|
|
60248
|
+
// 选择工作岗位
|
|
60249
|
+
onSelectJobPositionCompleted: function onSelectJobPositionCompleted(selectedNodes, attr) {
|
|
60250
|
+
selectedNodes = JSON.parse(JSON.stringify(selectedNodes));
|
|
60251
|
+
var selected = '';
|
|
60252
|
+
selectedNodes.forEach(function (node) {
|
|
60253
|
+
if (selected !== '') selected += '、';
|
|
60254
|
+
selected += node.name;
|
|
60255
|
+
node.jobPositionId = node.id;
|
|
60256
|
+
delete node.id;
|
|
60257
|
+
});
|
|
60258
|
+
this.taskNode.users = selectedNodes;
|
|
60259
|
+
this.$set(this.taskNode, 'userNames', '');
|
|
60260
|
+
this.$set(this.taskNode, 'orgNames', '');
|
|
60261
|
+
this.$set(this.taskNode, 'workgroupNames', '');
|
|
60262
|
+
this.$set(this.taskNode, 'jobPositionNames', selected);
|
|
60263
|
+
},
|
|
60264
|
+
submitForm: function submitForm() {
|
|
60265
|
+
var _this4 = this;
|
|
60266
|
+
this.formValidate(function () {
|
|
60267
|
+
var udmNode = JSON.parse(JSON.stringify(_this4.taskNode));
|
|
60268
|
+
udmNode.tmLmtType = '9';
|
|
60269
|
+
udmNode.type = 1;
|
|
60270
|
+
if (udmNode.todoMode === 5) {
|
|
60271
|
+
udmNode.type = 3;
|
|
60272
|
+
}
|
|
60273
|
+
var wfdNodeList = _this4.$vnode.context.wfInstance.passenger.wfdNodeList;
|
|
60274
|
+
if (wfdNodeList) {
|
|
60275
|
+
wfdNodeList.forEach(function (node) {
|
|
60276
|
+
if (node.processType === udmNode.todoMode && node.nodeType === udmNode.type) {
|
|
60277
|
+
udmNode.id = node.id;
|
|
60278
|
+
}
|
|
60279
|
+
});
|
|
60280
|
+
}
|
|
60281
|
+
if (udmNode.status !== 1) {
|
|
60282
|
+
udmNode.status = 1;
|
|
60283
|
+
udmNode.uuid = _this4.uuid();
|
|
60284
|
+
_this4.$vnode.context.wfInstance.udmNodes.push(udmNode);
|
|
60285
|
+
} else {
|
|
60286
|
+
_this4.$vnode.context.wfInstance.udmNodes.forEach(function (wfnode, index) {
|
|
60287
|
+
if (wfnode.uuid === udmNode.uuid) {
|
|
60288
|
+
_this4.$vnode.context.wfInstance.udmNodes.splice(index, 1, udmNode);
|
|
60289
|
+
if (_this4.$vnode.context.curTN.tnNodeName === _this4.curNodeName) {
|
|
60290
|
+
_this4.$vnode.context.curTN.tnNodeName = udmNode.name;
|
|
60291
|
+
_this4.$vnode.context.curTN.tnCanEdit = udmNode.canEdit;
|
|
60292
|
+
if (udmNode.todoMode === 5) {
|
|
60293
|
+
_this4.$vnode.context.curTN.tnTaskType = 3;
|
|
60294
|
+
} else {
|
|
60295
|
+
_this4.$vnode.context.curTN.tnTaskType = 1;
|
|
60296
|
+
}
|
|
60297
|
+
_this4.$vnode.context.curTN.tnToDoMode = udmNode.todoMode;
|
|
60298
|
+
if (udmNode.ideaLable === '无') {
|
|
60299
|
+
_this4.$vnode.context.curTN.tnIdeaLabelID = '';
|
|
60300
|
+
_this4.$vnode.context.curTN.tnIdeaLabelName = '';
|
|
60301
|
+
} else {
|
|
60302
|
+
_this4.$vnode.context.curTN.tnIdeaLabelID = 'udm_' + udmNode.ideaLable;
|
|
60303
|
+
_this4.$vnode.context.curTN.tnIdeaLabelName = udmNode.ideaLable;
|
|
60304
|
+
_this4.$vnode.context.curTN.tnIdeaIsMust = 1;
|
|
60305
|
+
}
|
|
60306
|
+
}
|
|
60307
|
+
}
|
|
60308
|
+
});
|
|
60309
|
+
}
|
|
60310
|
+
_this4.closeDialog();
|
|
60311
|
+
});
|
|
60312
|
+
},
|
|
60313
|
+
closeDialog: function closeDialog() {
|
|
60314
|
+
this.$vnode.context.wfNodeDialogVisible = false;
|
|
60315
|
+
},
|
|
60316
|
+
uuid: function uuid() {
|
|
60317
|
+
var r = [];
|
|
60318
|
+
var e = '0123456789abcdef';
|
|
60319
|
+
for (var t = 0; t < 36; t++) {
|
|
60320
|
+
r[t] = e.substr(Math.floor(16 * Math.random()), 1);
|
|
60321
|
+
}
|
|
60322
|
+
r[14] = '4';
|
|
60323
|
+
r[19] = e.substr(3 & r[19] | 8, 1);
|
|
60324
|
+
r[8] = r[13] = r[18] = r[23] = '';
|
|
60325
|
+
return r.join('');
|
|
60326
|
+
}
|
|
60327
|
+
}
|
|
60328
|
+
});
|
|
60329
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfTaskNode.vue?vue&type=script&lang=js
|
|
60330
|
+
/* harmony default export */ var src_WfTaskNodevue_type_script_lang_js = (WfTaskNodevue_type_script_lang_js);
|
|
60331
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfTaskNode.vue
|
|
60332
|
+
|
|
60333
|
+
|
|
60334
|
+
|
|
60335
|
+
|
|
60336
|
+
|
|
60337
|
+
/* normalize component */
|
|
60338
|
+
;
|
|
60339
|
+
var WfTaskNode_component = (0,componentNormalizer/* default */.A)(
|
|
60340
|
+
src_WfTaskNodevue_type_script_lang_js,
|
|
60341
|
+
WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render,
|
|
60342
|
+
WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns,
|
|
60343
|
+
false,
|
|
60344
|
+
null,
|
|
60345
|
+
"59c2fbd4",
|
|
60346
|
+
null
|
|
60347
|
+
|
|
60348
|
+
)
|
|
59148
60349
|
|
|
60350
|
+
/* harmony default export */ var WfTaskNode = (WfTaskNode_component.exports);
|
|
59149
60351
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=script&lang=js
|
|
59150
60352
|
function SubmitHandlevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return SubmitHandlevue_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; }, SubmitHandlevue_type_script_lang_js_typeof(o); }
|
|
59151
60353
|
var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
59152
|
-
|
|
60354
|
+
|
|
59153
60355
|
/* harmony default export */ var SubmitHandlevue_type_script_lang_js = ({
|
|
59154
60356
|
name: 'SubmitHandle',
|
|
59155
60357
|
components: {
|
|
59156
|
-
|
|
60358
|
+
WfTaskNode: WfTaskNode
|
|
59157
60359
|
},
|
|
59158
60360
|
props: {
|
|
59159
60361
|
curTN: {
|
|
@@ -59360,8 +60562,6 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
59360
60562
|
},
|
|
59361
60563
|
submitHandle: {
|
|
59362
60564
|
handler: function handler(val, oldVal) {
|
|
59363
|
-
console.log('val', val);
|
|
59364
|
-
console.log('oldVal', oldVal);
|
|
59365
60565
|
this.submitHandleValChange();
|
|
59366
60566
|
this.viewCommentsNum = this.defaultNumber;
|
|
59367
60567
|
this.selectChangeList = [];
|
|
@@ -59380,7 +60580,6 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
59380
60580
|
},
|
|
59381
60581
|
mounted: function mounted() {
|
|
59382
60582
|
var _this3 = this;
|
|
59383
|
-
this.isUdmNodes = this.wfInstance.module.indexOf('udmjysp_') === 0;
|
|
59384
60583
|
this.msgTypeOptions = this.wfInstance.passenger.msgTypeOptions || null;
|
|
59385
60584
|
this.initSubmitHandle();
|
|
59386
60585
|
this.curUserIdea = this.submitHandle.curUserIdea;
|
|
@@ -59487,6 +60686,7 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
59487
60686
|
var _this5 = this;
|
|
59488
60687
|
var _this = this;
|
|
59489
60688
|
_this.showTimeLimit = false;
|
|
60689
|
+
_this.isUdmNodes = _this.wfInstance.passenger.isUdmNodes;
|
|
59490
60690
|
if (this.wfJsonData.routes && this.wfJsonData.routes.length > 0) {
|
|
59491
60691
|
new Promise(function (resolve, reject) {
|
|
59492
60692
|
// 响应路径单击事件
|
|
@@ -60008,9 +61208,9 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
60008
61208
|
});
|
|
60009
61209
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=script&lang=js
|
|
60010
61210
|
/* harmony default export */ var src_SubmitHandlevue_type_script_lang_js = (SubmitHandlevue_type_script_lang_js);
|
|
60011
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=
|
|
60012
|
-
var
|
|
60013
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=
|
|
61211
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=ac8cafcc&prod&scoped=true&lang=scss
|
|
61212
|
+
var SubmitHandlevue_type_style_index_0_id_ac8cafcc_prod_scoped_true_lang_scss = __webpack_require__(8562);
|
|
61213
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=ac8cafcc&prod&scoped=true&lang=scss
|
|
60014
61214
|
|
|
60015
61215
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue
|
|
60016
61216
|
|
|
@@ -60023,11 +61223,11 @@ var SubmitHandlevue_type_style_index_0_id_5be1797c_prod_scoped_true_lang_scss =
|
|
|
60023
61223
|
|
|
60024
61224
|
var SubmitHandle_component = (0,componentNormalizer/* default */.A)(
|
|
60025
61225
|
src_SubmitHandlevue_type_script_lang_js,
|
|
60026
|
-
|
|
60027
|
-
|
|
61226
|
+
SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render,
|
|
61227
|
+
SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_staticRenderFns,
|
|
60028
61228
|
false,
|
|
60029
61229
|
null,
|
|
60030
|
-
"
|
|
61230
|
+
"ac8cafcc",
|
|
60031
61231
|
null
|
|
60032
61232
|
|
|
60033
61233
|
)
|
|
@@ -60246,8 +61446,8 @@ var SubmitDialog_component = (0,componentNormalizer/* default */.A)(
|
|
|
60246
61446
|
)
|
|
60247
61447
|
|
|
60248
61448
|
/* harmony default export */ var SubmitDialog = (SubmitDialog_component.exports);
|
|
60249
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=template&id=
|
|
60250
|
-
var
|
|
61449
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=template&id=0e256787&scoped=true
|
|
61450
|
+
var WfNodelogListvue_type_template_id_0e256787_scoped_true_render = function render() {
|
|
60251
61451
|
var _vm = this,
|
|
60252
61452
|
_c = _vm._self._c;
|
|
60253
61453
|
return _c('div', {
|
|
@@ -60410,7 +61610,7 @@ var WfNodelogListvue_type_template_id_5b6668e7_scoped_true_render = function ren
|
|
|
60410
61610
|
}
|
|
60411
61611
|
}, [_vm._v("收 回")])], 1) : _vm._e()], 1), _c('WriteToReadIdea'), _c('ModifyWflogAddUser')], 1);
|
|
60412
61612
|
};
|
|
60413
|
-
var
|
|
61613
|
+
var WfNodelogListvue_type_template_id_0e256787_scoped_true_staticRenderFns = [];
|
|
60414
61614
|
|
|
60415
61615
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=template&id=db68a166&scoped=true
|
|
60416
61616
|
var ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_render = function render() {
|
|
@@ -61092,7 +62292,7 @@ var WfNodelogListvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
61092
62292
|
wfInstance: JSON.stringify($scope.wfInstance)
|
|
61093
62293
|
};
|
|
61094
62294
|
reqData.openUrl = $scope.submitHandle.openUrl;
|
|
61095
|
-
reqData.nodeName = toReadNodeName || $scope.curTN.passenger.toReadedNodeName;
|
|
62295
|
+
reqData.nodeName = toReadNodeName || $scope.curTN.passenger.toReadedNodeName || '阅知';
|
|
61096
62296
|
reqData.sender = $scope.curTN.userName;
|
|
61097
62297
|
reqData.senderDept = $scope.curTN.staffOrgName;
|
|
61098
62298
|
reqData.senderStaffId = $scope.curTN.senderStaffId;
|
|
@@ -61187,9 +62387,9 @@ var WfNodelogListvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
61187
62387
|
});
|
|
61188
62388
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=script&lang=js
|
|
61189
62389
|
/* harmony default export */ var src_WfNodelogListvue_type_script_lang_js = (WfNodelogListvue_type_script_lang_js);
|
|
61190
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=style&index=0&id=
|
|
61191
|
-
var
|
|
61192
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=style&index=0&id=
|
|
62390
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=style&index=0&id=0e256787&prod&scoped=true&lang=scss
|
|
62391
|
+
var WfNodelogListvue_type_style_index_0_id_0e256787_prod_scoped_true_lang_scss = __webpack_require__(6737);
|
|
62392
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=style&index=0&id=0e256787&prod&scoped=true&lang=scss
|
|
61193
62393
|
|
|
61194
62394
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfNodelogList.vue
|
|
61195
62395
|
|
|
@@ -61202,11 +62402,11 @@ var WfNodelogListvue_type_style_index_0_id_5b6668e7_prod_scoped_true_lang_scss =
|
|
|
61202
62402
|
|
|
61203
62403
|
var WfNodelogList_component = (0,componentNormalizer/* default */.A)(
|
|
61204
62404
|
src_WfNodelogListvue_type_script_lang_js,
|
|
61205
|
-
|
|
61206
|
-
|
|
62405
|
+
WfNodelogListvue_type_template_id_0e256787_scoped_true_render,
|
|
62406
|
+
WfNodelogListvue_type_template_id_0e256787_scoped_true_staticRenderFns,
|
|
61207
62407
|
false,
|
|
61208
62408
|
null,
|
|
61209
|
-
"
|
|
62409
|
+
"0e256787",
|
|
61210
62410
|
null
|
|
61211
62411
|
|
|
61212
62412
|
)
|