ecinc-cloud-mappaio 9.6.169 → 9.6.171
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 +131 -100
- package/lib/ecmappaio.umd.js +129 -98
- package/lib/ecmappaio.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/ecmappaio.common.js
CHANGED
|
@@ -798,7 +798,7 @@ function convertToRoute(h5app) {
|
|
|
798
798
|
|
|
799
799
|
/***/ }),
|
|
800
800
|
|
|
801
|
-
/***/
|
|
801
|
+
/***/ 5197:
|
|
802
802
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
803
803
|
|
|
804
804
|
"use strict";
|
|
@@ -7492,7 +7492,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "#bodyfilebox[data-v-edfd6196]{position
|
|
|
7492
7492
|
|
|
7493
7493
|
/***/ }),
|
|
7494
7494
|
|
|
7495
|
-
/***/
|
|
7495
|
+
/***/ 8307:
|
|
7496
7496
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7497
7497
|
|
|
7498
7498
|
"use strict";
|
|
@@ -7506,7 +7506,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7506
7506
|
|
|
7507
7507
|
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()));
|
|
7508
7508
|
// Module
|
|
7509
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".divPortraitContainer[data-v-
|
|
7509
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".divPortraitContainer[data-v-3513df7e]{-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:bottom left;transform-origin:bottom left;position:absolute;top:-100vw;height:100vw;width:100vh}.divLandscapeContainer[data-v-3513df7e]{-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-transform-origin:top left;transform-origin:top left;position:absolute;top:0;height:100vh;width:100vw}.view-container[data-v-3513df7e]{position:fixed;top:0;width:100vw;height:100vh;background-color:#fff;z-index:9999}.tool-dv[data-v-3513df7e]{position:absolute;bottom:calc(100vw - 38px);left:calc(100vh - 100px);width:100px;height:37px;background-color:#f1f1f1}.docDiv[data-v-3513df7e],.iframe[data-v-3513df7e]{height:100%;width:100%}.docDiv[data-v-3513df7e]{position:relative;background-color:#fff}.buttomDiv[data-v-3513df7e]{right:10px}.buttomDiv[data-v-3513df7e],.buttomDivD[data-v-3513df7e]{float:right;top:7px;z-index:111;position:absolute;font-size:12px;font-weight:600;width:45px;line-height:25px;text-align:center;border-radius:2px}.buttomDivD[data-v-3513df7e]{right:60px}", ""]);
|
|
7510
7510
|
// Exports
|
|
7511
7511
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7512
7512
|
|
|
@@ -7744,7 +7744,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".handle-idea-container[data-v-3d821f70
|
|
|
7744
7744
|
|
|
7745
7745
|
/***/ }),
|
|
7746
7746
|
|
|
7747
|
-
/***/
|
|
7747
|
+
/***/ 1305:
|
|
7748
7748
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7749
7749
|
|
|
7750
7750
|
"use strict";
|
|
@@ -7758,7 +7758,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7758
7758
|
|
|
7759
7759
|
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()));
|
|
7760
7760
|
// Module
|
|
7761
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-cell__label[data-v-
|
|
7761
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".van-cell__label[data-v-8b3365dc]{color:#323323;font-size:14px}.van-cell__value[data-v-8b3365dc]{color:#666}.van-wform-operate-cell .van-button[data-v-8b3365dc]{color:#323323;border:1px;margin-right:0}.van-wform-operate-cell .van-button--info[data-v-8b3365dc]{color:#fff}", ""]);
|
|
7762
7762
|
// Exports
|
|
7763
7763
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7764
7764
|
|
|
@@ -34442,19 +34442,19 @@ var update = add("017ce674", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
34442
34442
|
|
|
34443
34443
|
/***/ }),
|
|
34444
34444
|
|
|
34445
|
-
/***/
|
|
34445
|
+
/***/ 1725:
|
|
34446
34446
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
34447
34447
|
|
|
34448
34448
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
34449
34449
|
|
|
34450
34450
|
// load the styles
|
|
34451
|
-
var content = __webpack_require__(
|
|
34451
|
+
var content = __webpack_require__(8307);
|
|
34452
34452
|
if(content.__esModule) content = content.default;
|
|
34453
34453
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
34454
34454
|
if(content.locals) module.exports = content.locals;
|
|
34455
34455
|
// add the styles to the DOM
|
|
34456
34456
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
34457
|
-
var update = add("
|
|
34457
|
+
var update = add("a4358f4e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
34458
34458
|
|
|
34459
34459
|
/***/ }),
|
|
34460
34460
|
|
|
@@ -34634,19 +34634,19 @@ var update = add("8700a208", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
34634
34634
|
|
|
34635
34635
|
/***/ }),
|
|
34636
34636
|
|
|
34637
|
-
/***/
|
|
34637
|
+
/***/ 8727:
|
|
34638
34638
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
34639
34639
|
|
|
34640
34640
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
34641
34641
|
|
|
34642
34642
|
// load the styles
|
|
34643
|
-
var content = __webpack_require__(
|
|
34643
|
+
var content = __webpack_require__(1305);
|
|
34644
34644
|
if(content.__esModule) content = content.default;
|
|
34645
34645
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
34646
34646
|
if(content.locals) module.exports = content.locals;
|
|
34647
34647
|
// add the styles to the DOM
|
|
34648
34648
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
34649
|
-
var update = add("
|
|
34649
|
+
var update = add("610456cb", content, true, {"sourceMap":false,"shadowMode":false});
|
|
34650
34650
|
|
|
34651
34651
|
/***/ }),
|
|
34652
34652
|
|
|
@@ -36297,7 +36297,7 @@ webpackContext.id = 9326;
|
|
|
36297
36297
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
36298
36298
|
|
|
36299
36299
|
var map = {
|
|
36300
|
-
"./user.js":
|
|
36300
|
+
"./user.js": 5197
|
|
36301
36301
|
};
|
|
36302
36302
|
|
|
36303
36303
|
|
|
@@ -42637,7 +42637,7 @@ var wfengine_install = function install(Vue) {
|
|
|
42637
42637
|
}
|
|
42638
42638
|
}
|
|
42639
42639
|
}
|
|
42640
|
-
if (newWfJsonData.routes.length === 0) delete
|
|
42640
|
+
if (newWfJsonData.routes.length === 0) delete newWfJsonData.routes;
|
|
42641
42641
|
}
|
|
42642
42642
|
$scope.wfJsonData = newWfJsonData;
|
|
42643
42643
|
} else {
|
|
@@ -54774,8 +54774,8 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
54774
54774
|
)
|
|
54775
54775
|
|
|
54776
54776
|
/* harmony default export */ var ListSeals = (ListSeals_component.exports);
|
|
54777
|
-
;// 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=
|
|
54778
|
-
var
|
|
54777
|
+
;// 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=3513df7e&scoped=true
|
|
54778
|
+
var showViewervue_type_template_id_3513df7e_scoped_true_render = function render() {
|
|
54779
54779
|
var _vm = this,
|
|
54780
54780
|
_c = _vm._self._c;
|
|
54781
54781
|
return _c('div', {
|
|
@@ -54805,7 +54805,11 @@ var showViewervue_type_template_id_0a05dd8b_scoped_true_render = function render
|
|
|
54805
54805
|
on: {
|
|
54806
54806
|
"click": _vm.downLoadFile
|
|
54807
54807
|
}
|
|
54808
|
-
}, [
|
|
54808
|
+
}, [_c('van-icon', {
|
|
54809
|
+
attrs: {
|
|
54810
|
+
"name": "down"
|
|
54811
|
+
}
|
|
54812
|
+
}), _vm._v(" 下载 ")], 1) : _vm._e(), _vm.orientation != 'landscape' ? _c('span', {
|
|
54809
54813
|
staticClass: "buttomDiv",
|
|
54810
54814
|
attrs: {
|
|
54811
54815
|
"id": "docChange"
|
|
@@ -54813,9 +54817,13 @@ var showViewervue_type_template_id_0a05dd8b_scoped_true_render = function render
|
|
|
54813
54817
|
on: {
|
|
54814
54818
|
"click": _vm.closeShowFileDialog
|
|
54815
54819
|
}
|
|
54816
|
-
}, [
|
|
54820
|
+
}, [_c('van-icon', {
|
|
54821
|
+
attrs: {
|
|
54822
|
+
"name": "cross"
|
|
54823
|
+
}
|
|
54824
|
+
}), _vm._v(" 关闭 ")], 1) : _vm._e()])])])]);
|
|
54817
54825
|
};
|
|
54818
|
-
var
|
|
54826
|
+
var showViewervue_type_template_id_3513df7e_scoped_true_staticRenderFns = [];
|
|
54819
54827
|
|
|
54820
54828
|
;// 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
|
|
54821
54829
|
/* harmony default export */ var showViewervue_type_script_lang_js = ({
|
|
@@ -54847,44 +54855,8 @@ var showViewervue_type_template_id_0a05dd8b_scoped_true_staticRenderFns = [];
|
|
|
54847
54855
|
},
|
|
54848
54856
|
computed: {},
|
|
54849
54857
|
watch: {
|
|
54850
|
-
|
|
54851
|
-
|
|
54852
|
-
this.$nextTick(function () {
|
|
54853
|
-
if (val === 'landscape') {
|
|
54854
|
-
var divContainer = document.querySelector('.divLandscapeContainer');
|
|
54855
|
-
if (divContainer) {
|
|
54856
|
-
if (_this.$wv && window.mappType === 'ecinc') {
|
|
54857
|
-
_this.$wv.getSystemStatusBarHeight(function (height) {
|
|
54858
|
-
divContainer.style.top = height.result + 'px';
|
|
54859
|
-
divContainer.style.height = 'calc(100vh - ' + height.result + 'px';
|
|
54860
|
-
});
|
|
54861
|
-
} else {
|
|
54862
|
-
divContainer.style.top = '0px';
|
|
54863
|
-
divContainer.style.height = '100vh';
|
|
54864
|
-
}
|
|
54865
|
-
}
|
|
54866
|
-
var toolDv = document.querySelector('.tool-dv');
|
|
54867
|
-
if (toolDv) {
|
|
54868
|
-
toolDv.style.top = '0';
|
|
54869
|
-
toolDv.style.right = '0';
|
|
54870
|
-
toolDv.style.left = 'calc(100vw - 100px)';
|
|
54871
|
-
toolDv.style.paddingLeft = '50px';
|
|
54872
|
-
}
|
|
54873
|
-
} else {
|
|
54874
|
-
var _divContainer = document.querySelector('.divPortraitContainer');
|
|
54875
|
-
if (_divContainer) {
|
|
54876
|
-
_divContainer.style.top = '-100vw';
|
|
54877
|
-
_divContainer.style.height = '100vw';
|
|
54878
|
-
}
|
|
54879
|
-
var _toolDv = document.querySelector('.tool-dv');
|
|
54880
|
-
if (_toolDv) {
|
|
54881
|
-
_toolDv.style.top = '';
|
|
54882
|
-
_toolDv.style.right = '';
|
|
54883
|
-
_toolDv.style.left = '';
|
|
54884
|
-
_toolDv.style.paddingLeft = '';
|
|
54885
|
-
}
|
|
54886
|
-
}
|
|
54887
|
-
});
|
|
54858
|
+
$route: function $route() {
|
|
54859
|
+
this.setDivContainer(this.orientation);
|
|
54888
54860
|
}
|
|
54889
54861
|
},
|
|
54890
54862
|
created: function created() {},
|
|
@@ -54892,15 +54864,61 @@ var showViewervue_type_template_id_0a05dd8b_scoped_true_staticRenderFns = [];
|
|
|
54892
54864
|
this.$bus.emit('closeShow');
|
|
54893
54865
|
},
|
|
54894
54866
|
mounted: function mounted() {
|
|
54895
|
-
var
|
|
54867
|
+
var _this = this;
|
|
54896
54868
|
console.log(this.bodyUrl, this.viewBodyFileShow, this.type);
|
|
54897
54869
|
if (this.viewBodyFileShow === 'ofd') {
|
|
54898
54870
|
setTimeout(function () {
|
|
54899
|
-
|
|
54871
|
+
_this.show = true;
|
|
54900
54872
|
}, 300);
|
|
54901
54873
|
}
|
|
54902
54874
|
},
|
|
54903
54875
|
methods: {
|
|
54876
|
+
setDivContainer: function setDivContainer(val) {
|
|
54877
|
+
if (val === 'landscape') {
|
|
54878
|
+
var divContainer = document.querySelector('.divLandscapeContainer');
|
|
54879
|
+
if (divContainer) {
|
|
54880
|
+
if (this.$wv && window.mappType === 'ecinc') {
|
|
54881
|
+
this.$wv.getSystemStatusBarHeight(function (height) {
|
|
54882
|
+
divContainer.style.top = height.result + 'px';
|
|
54883
|
+
divContainer.style.height = 'calc(100vh - ' + height.result + 'px)';
|
|
54884
|
+
});
|
|
54885
|
+
} else {
|
|
54886
|
+
divContainer.style.top = '0px';
|
|
54887
|
+
divContainer.style.height = '100vh';
|
|
54888
|
+
}
|
|
54889
|
+
}
|
|
54890
|
+
var toolDv = document.querySelector('.tool-dv');
|
|
54891
|
+
if (toolDv) {
|
|
54892
|
+
toolDv.style.top = '0';
|
|
54893
|
+
toolDv.style.right = '0';
|
|
54894
|
+
toolDv.style.left = 'calc(100vw - 100px)';
|
|
54895
|
+
toolDv.style.paddingLeft = '50px';
|
|
54896
|
+
}
|
|
54897
|
+
var pdfHtml = document.querySelector('#pdfHtml');
|
|
54898
|
+
if (pdfHtml) {
|
|
54899
|
+
var toolbarContainer = pdfHtml.contentDocument.querySelector('#toolbarContainer');
|
|
54900
|
+
if (toolbarContainer) toolbarContainer.style.paddingLeft = '';
|
|
54901
|
+
}
|
|
54902
|
+
} else {
|
|
54903
|
+
var _divContainer = document.querySelector('.divPortraitContainer');
|
|
54904
|
+
if (_divContainer) {
|
|
54905
|
+
_divContainer.style.top = '-100vw';
|
|
54906
|
+
_divContainer.style.height = '100vw';
|
|
54907
|
+
}
|
|
54908
|
+
var _toolDv = document.querySelector('.tool-dv');
|
|
54909
|
+
if (_toolDv) {
|
|
54910
|
+
_toolDv.style.top = '';
|
|
54911
|
+
_toolDv.style.right = '';
|
|
54912
|
+
_toolDv.style.left = '';
|
|
54913
|
+
_toolDv.style.paddingLeft = '';
|
|
54914
|
+
}
|
|
54915
|
+
var _pdfHtml = document.querySelector('#pdfHtml');
|
|
54916
|
+
if (_pdfHtml) {
|
|
54917
|
+
var _toolbarContainer = _pdfHtml.contentDocument.querySelector('#toolbarContainer');
|
|
54918
|
+
if (_toolbarContainer) _toolbarContainer.style.paddingLeft = '20px';
|
|
54919
|
+
}
|
|
54920
|
+
}
|
|
54921
|
+
},
|
|
54904
54922
|
closeShowFileDialog: function closeShowFileDialog() {
|
|
54905
54923
|
this.$vnode.context.showViewer = false;
|
|
54906
54924
|
this.$router.back();
|
|
@@ -54926,9 +54944,9 @@ var showViewervue_type_template_id_0a05dd8b_scoped_true_staticRenderFns = [];
|
|
|
54926
54944
|
});
|
|
54927
54945
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=script&lang=js
|
|
54928
54946
|
/* harmony default export */ var src_showViewervue_type_script_lang_js = (showViewervue_type_script_lang_js);
|
|
54929
|
-
// 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=
|
|
54930
|
-
var
|
|
54931
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=style&index=0&id=
|
|
54947
|
+
// 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=3513df7e&prod&scoped=true&lang=scss
|
|
54948
|
+
var showViewervue_type_style_index_0_id_3513df7e_prod_scoped_true_lang_scss = __webpack_require__(1725);
|
|
54949
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=style&index=0&id=3513df7e&prod&scoped=true&lang=scss
|
|
54932
54950
|
|
|
54933
54951
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue
|
|
54934
54952
|
|
|
@@ -54941,11 +54959,11 @@ var showViewervue_type_style_index_0_id_0a05dd8b_prod_scoped_true_lang_scss = __
|
|
|
54941
54959
|
|
|
54942
54960
|
var showViewer_component = (0,componentNormalizer/* default */.A)(
|
|
54943
54961
|
src_showViewervue_type_script_lang_js,
|
|
54944
|
-
|
|
54945
|
-
|
|
54962
|
+
showViewervue_type_template_id_3513df7e_scoped_true_render,
|
|
54963
|
+
showViewervue_type_template_id_3513df7e_scoped_true_staticRenderFns,
|
|
54946
54964
|
false,
|
|
54947
54965
|
null,
|
|
54948
|
-
"
|
|
54966
|
+
"3513df7e",
|
|
54949
54967
|
null
|
|
54950
54968
|
|
|
54951
54969
|
)
|
|
@@ -66654,8 +66672,8 @@ var WfNodelogListvue_type_template_id_873e0692_scoped_true_render = function ren
|
|
|
66654
66672
|
};
|
|
66655
66673
|
var WfNodelogListvue_type_template_id_873e0692_scoped_true_staticRenderFns = [];
|
|
66656
66674
|
|
|
66657
|
-
;// 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=
|
|
66658
|
-
var
|
|
66675
|
+
;// 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=8b3365dc&scoped=true
|
|
66676
|
+
var ModifyWflogAddUservue_type_template_id_8b3365dc_scoped_true_render = function render() {
|
|
66659
66677
|
var _vm = this,
|
|
66660
66678
|
_c = _vm._self._c;
|
|
66661
66679
|
return _vm.dialogFormVisible ? _c('PopupDialog', {
|
|
@@ -66849,7 +66867,7 @@ var ModifyWflogAddUservue_type_template_id_7884baa3_scoped_true_render = functio
|
|
|
66849
66867
|
}
|
|
66850
66868
|
}, [_vm._v("确 定")])], 1)], 1) : _vm._e();
|
|
66851
66869
|
};
|
|
66852
|
-
var
|
|
66870
|
+
var ModifyWflogAddUservue_type_template_id_8b3365dc_scoped_true_staticRenderFns = [];
|
|
66853
66871
|
|
|
66854
66872
|
;// 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/ModifyWflogAddUser.vue?vue&type=script&lang=js
|
|
66855
66873
|
function ModifyWflogAddUservue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return ModifyWflogAddUservue_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; }, ModifyWflogAddUservue_type_script_lang_js_typeof(o); }
|
|
@@ -67042,6 +67060,11 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67042
67060
|
var curWflog = res.body.listdata.filter(function (wflog) {
|
|
67043
67061
|
return wflog.id === curTN.tnID;
|
|
67044
67062
|
});
|
|
67063
|
+
if (curWflog.length === 0) {
|
|
67064
|
+
curWflog = res.body.listdata.filter(function (wflog) {
|
|
67065
|
+
return wflog.staffAccount === curTN.userAccount;
|
|
67066
|
+
});
|
|
67067
|
+
}
|
|
67045
67068
|
if (curWflog.length > 0) {
|
|
67046
67069
|
//有办理权限的用户执行加签操作
|
|
67047
67070
|
_this4.wflog = curWflog[0];
|
|
@@ -67078,8 +67101,8 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67078
67101
|
this.newNode = this.wfdNodeList[index];
|
|
67079
67102
|
this.setTimeLimit(index);
|
|
67080
67103
|
if (this.newNodeUsers === 'wfNodeUsers') {
|
|
67081
|
-
var $scope = this.$vnode.context.$vnode.context;
|
|
67082
|
-
var curTN = JSON.parse(JSON.stringify($scope.curTN));
|
|
67104
|
+
var _$scope = this.$vnode.context.$vnode.context;
|
|
67105
|
+
var curTN = JSON.parse(JSON.stringify(_$scope.curTN));
|
|
67083
67106
|
curTN.staffID = this.wflog.staffId;
|
|
67084
67107
|
curTN.tnNodeID = this.wflog.nodeId;
|
|
67085
67108
|
curTN.tnID = this.wflog.id;
|
|
@@ -67095,7 +67118,7 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67095
67118
|
params: {
|
|
67096
67119
|
specifyNodeId: this.newNode.id
|
|
67097
67120
|
},
|
|
67098
|
-
url: (this.wfEngineUrl || $scope.wfEngineUrl) + '/getSpecifyNodeJsonData'
|
|
67121
|
+
url: (this.wfEngineUrl || _$scope.wfEngineUrl) + '/getSpecifyNodeJsonData'
|
|
67099
67122
|
}).then(function (res) {
|
|
67100
67123
|
if (res.code === 'success') {
|
|
67101
67124
|
_this.wfNodeName = _this.newNode.name;
|
|
@@ -67229,15 +67252,15 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67229
67252
|
newNodeProp += ';' + this.wfdNodeList[this.wflog.newNode].name;
|
|
67230
67253
|
}
|
|
67231
67254
|
if (_this.modifyType === 'sendToAssistantUser' || _this.modifyType === 'sendToOtherUser') {
|
|
67232
|
-
var $
|
|
67255
|
+
var _$scope2 = _this.$vnode.context.$vnode.context;
|
|
67233
67256
|
var nextNode = _this.wfdNodeList[this.wflog.newNode];
|
|
67234
|
-
$
|
|
67257
|
+
_$scope2.submitHandle.needCheckOuterDeputy = [{
|
|
67235
67258
|
wfnodeId: nextNode.id,
|
|
67236
67259
|
wfnodeName: nextNode.name,
|
|
67237
67260
|
users: this.wflog.sendToUser,
|
|
67238
67261
|
todoType: nextNode.processType
|
|
67239
67262
|
}];
|
|
67240
|
-
$
|
|
67263
|
+
_$scope2.$wfEngine.checkOuterDeputy(_$scope2, _$scope2.wfParams).then( /*#__PURE__*/function () {
|
|
67241
67264
|
var _ref = ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/ModifyWflogAddUservue_type_script_lang_js_regeneratorRuntime().mark(function _callee(res) {
|
|
67242
67265
|
var allSuccess, i, uploadRes, submitType, pathName, nextTN;
|
|
67243
67266
|
return ModifyWflogAddUservue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -67247,23 +67270,23 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67247
67270
|
_context.next = 4;
|
|
67248
67271
|
break;
|
|
67249
67272
|
}
|
|
67250
|
-
$
|
|
67273
|
+
_$scope2.$dialog.alert({
|
|
67251
67274
|
message: res.message
|
|
67252
67275
|
});
|
|
67253
67276
|
_context.next = 20;
|
|
67254
67277
|
break;
|
|
67255
67278
|
case 4:
|
|
67256
|
-
$
|
|
67279
|
+
_$scope2.doing = true;
|
|
67257
67280
|
// 上传附件
|
|
67258
67281
|
allSuccess = true;
|
|
67259
67282
|
i = 0;
|
|
67260
67283
|
case 7:
|
|
67261
|
-
if (!(i < $
|
|
67284
|
+
if (!(i < _$scope2.refsAttachments.length)) {
|
|
67262
67285
|
_context.next = 17;
|
|
67263
67286
|
break;
|
|
67264
67287
|
}
|
|
67265
67288
|
_context.next = 10;
|
|
67266
|
-
return $
|
|
67289
|
+
return _$scope2.refsAttachments[i].uploadWflowAttach(_$scope2);
|
|
67267
67290
|
case 10:
|
|
67268
67291
|
uploadRes = _context.sent;
|
|
67269
67292
|
if (!(uploadRes.code !== 'success')) {
|
|
@@ -67278,19 +67301,19 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67278
67301
|
break;
|
|
67279
67302
|
case 17:
|
|
67280
67303
|
if (_this9.ideaContent) {
|
|
67281
|
-
$
|
|
67282
|
-
$
|
|
67304
|
+
_$scope2.submitHandle.curUserIdea = _this9.ideaContent;
|
|
67305
|
+
_$scope2.curTN.tnIdeaSaveType = _this9.ideaSaveType;
|
|
67283
67306
|
}
|
|
67284
|
-
if (
|
|
67285
|
-
$
|
|
67286
|
-
$
|
|
67287
|
-
$
|
|
67307
|
+
if (!_$scope2.submitHandle.curUserIdea || _$scope2.curTN.tnIdeaSaveType === 2) {
|
|
67308
|
+
_$scope2.curTN.tnIdeaLabelID = null;
|
|
67309
|
+
_$scope2.curTN.tnIdeaLabelName = null;
|
|
67310
|
+
_$scope2.submitHandle.curUserIdea = '';
|
|
67288
67311
|
}
|
|
67289
67312
|
if (!allSuccess) {
|
|
67290
|
-
$
|
|
67291
|
-
message: $
|
|
67313
|
+
_$scope2.$dialog.alert({
|
|
67314
|
+
message: _$scope2.$tx('ecmapp.wflowform.IdeaInputBox.uploadFileFail', '上传文件失败')
|
|
67292
67315
|
});
|
|
67293
|
-
$
|
|
67316
|
+
_$scope2.doing = false;
|
|
67294
67317
|
} else {
|
|
67295
67318
|
submitType = 'SendToAsstSubmit';
|
|
67296
67319
|
pathName = _this9.wflog.pathName;
|
|
@@ -67305,28 +67328,28 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67305
67328
|
tmLmtType: nextNode.tmLmtType,
|
|
67306
67329
|
pathType: _this9.wflog.pathType
|
|
67307
67330
|
}; //路径对应后续节点
|
|
67308
|
-
$
|
|
67331
|
+
_$scope2.submitHandle.route[nextNode.name] = {
|
|
67309
67332
|
users: _this9.wflog.sendToUser
|
|
67310
67333
|
}; //协办环节处理人
|
|
67311
|
-
$
|
|
67334
|
+
_$scope2.submitHandle.submitRoute = {
|
|
67312
67335
|
name: pathName,
|
|
67313
67336
|
type: _this9.wflog.pathType,
|
|
67314
67337
|
taskNodes: [nextTN]
|
|
67315
67338
|
}; //送协办环节处理人
|
|
67316
67339
|
|
|
67317
|
-
$
|
|
67340
|
+
_$scope2.$wfEngine.saveWfInstance(_$scope2, submitType, _$scope2.wfParams).then(function (res) {
|
|
67318
67341
|
if (res.code === 'success') {
|
|
67319
|
-
$
|
|
67342
|
+
_$scope2.$toast.success(res.message);
|
|
67320
67343
|
_this.$router.go(-1);
|
|
67321
67344
|
setTimeout(function () {
|
|
67322
|
-
$
|
|
67345
|
+
_$scope2.btnCloseClick();
|
|
67323
67346
|
}, 1000);
|
|
67324
67347
|
} else {
|
|
67325
|
-
$
|
|
67348
|
+
_$scope2.$dialog.alert({
|
|
67326
67349
|
message: res.message
|
|
67327
67350
|
});
|
|
67328
67351
|
}
|
|
67329
|
-
$
|
|
67352
|
+
_$scope2.doing = false;
|
|
67330
67353
|
});
|
|
67331
67354
|
}
|
|
67332
67355
|
case 20:
|
|
@@ -67340,11 +67363,19 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67340
67363
|
};
|
|
67341
67364
|
}());
|
|
67342
67365
|
} else {
|
|
67366
|
+
if (!this.wflog.id) {
|
|
67367
|
+
$scope.doing = false;
|
|
67368
|
+
_this.$dialog.alert({
|
|
67369
|
+
message: '您未参与处理过此文件,不能加签!',
|
|
67370
|
+
type: 'warning'
|
|
67371
|
+
});
|
|
67372
|
+
return;
|
|
67373
|
+
}
|
|
67343
67374
|
var reqParams = {
|
|
67344
67375
|
wfInstanceId: this.wfInstance.id,
|
|
67345
67376
|
modifyType: this.modifyType,
|
|
67346
67377
|
newNodeProp: newNodeProp,
|
|
67347
|
-
selTNID: this.wflog.id,
|
|
67378
|
+
selTNID: this.wflog.id || '',
|
|
67348
67379
|
newStaffId: this.wflog.addNewStaffId
|
|
67349
67380
|
};
|
|
67350
67381
|
if (this.wfEngineUrl !== '') reqParams.wfEngineUrl = this.wfEngineUrl;
|
|
@@ -67387,9 +67418,9 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67387
67418
|
});
|
|
67388
67419
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=script&lang=js
|
|
67389
67420
|
/* harmony default export */ var src_ModifyWflogAddUservue_type_script_lang_js = (ModifyWflogAddUservue_type_script_lang_js);
|
|
67390
|
-
// 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/ModifyWflogAddUser.vue?vue&type=style&index=0&id=
|
|
67391
|
-
var
|
|
67392
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=
|
|
67421
|
+
// 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/ModifyWflogAddUser.vue?vue&type=style&index=0&id=8b3365dc&prod&scoped=true&lang=scss
|
|
67422
|
+
var ModifyWflogAddUservue_type_style_index_0_id_8b3365dc_prod_scoped_true_lang_scss = __webpack_require__(8727);
|
|
67423
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=8b3365dc&prod&scoped=true&lang=scss
|
|
67393
67424
|
|
|
67394
67425
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue
|
|
67395
67426
|
|
|
@@ -67402,11 +67433,11 @@ var ModifyWflogAddUservue_type_style_index_0_id_7884baa3_prod_scoped_true_lang_s
|
|
|
67402
67433
|
|
|
67403
67434
|
var ModifyWflogAddUser_component = (0,componentNormalizer/* default */.A)(
|
|
67404
67435
|
src_ModifyWflogAddUservue_type_script_lang_js,
|
|
67405
|
-
|
|
67406
|
-
|
|
67436
|
+
ModifyWflogAddUservue_type_template_id_8b3365dc_scoped_true_render,
|
|
67437
|
+
ModifyWflogAddUservue_type_template_id_8b3365dc_scoped_true_staticRenderFns,
|
|
67407
67438
|
false,
|
|
67408
67439
|
null,
|
|
67409
|
-
"
|
|
67440
|
+
"8b3365dc",
|
|
67410
67441
|
null
|
|
67411
67442
|
|
|
67412
67443
|
)
|