ecinc-cloud-wappaio 9.7.7 → 9.7.8
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/ecwappaio.common.js +55 -49
- package/lib/ecwappaio.umd.js +55 -49
- package/lib/ecwappaio.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/ecwappaio.common.js
CHANGED
|
@@ -26614,7 +26614,7 @@ var actions = {
|
|
|
26614
26614
|
case 0:
|
|
26615
26615
|
jwtToken = inJwtToken || window.$auth.getToken();
|
|
26616
26616
|
if (!((!state.loginUser.userId || !state.productCodeAll || inJwtToken) && jwtToken)) {
|
|
26617
|
-
_context3.next =
|
|
26617
|
+
_context3.next = 11;
|
|
26618
26618
|
break;
|
|
26619
26619
|
}
|
|
26620
26620
|
_context3.next = 4;
|
|
@@ -26623,7 +26623,8 @@ var actions = {
|
|
|
26623
26623
|
loginUser = _context3.sent;
|
|
26624
26624
|
commit('SET_TOKEN', window.$auth.getToken());
|
|
26625
26625
|
commit('SET_LOGIN_USER', loginUser);
|
|
26626
|
-
window.$
|
|
26626
|
+
window.$auth.removeTicket();
|
|
26627
|
+
window.$user.findUserRolePermissions(jwtToken).then(function (response) {
|
|
26627
26628
|
if (response.code === 'success') {
|
|
26628
26629
|
var data = response.body;
|
|
26629
26630
|
window.$auth.setProductCode(data['PRODUCT_CODE_LIST'], loginUser.sysCode);
|
|
@@ -26650,11 +26651,11 @@ var actions = {
|
|
|
26650
26651
|
}).catch(function (error) {
|
|
26651
26652
|
resolve(error);
|
|
26652
26653
|
});
|
|
26653
|
-
_context3.next =
|
|
26654
|
+
_context3.next = 12;
|
|
26654
26655
|
break;
|
|
26655
|
-
case 10:
|
|
26656
|
-
resolve(true);
|
|
26657
26656
|
case 11:
|
|
26657
|
+
resolve(true);
|
|
26658
|
+
case 12:
|
|
26658
26659
|
case "end":
|
|
26659
26660
|
return _context3.stop();
|
|
26660
26661
|
}
|
|
@@ -30070,7 +30071,7 @@ src.install = function (Vue) {
|
|
|
30070
30071
|
|
|
30071
30072
|
/***/ }),
|
|
30072
30073
|
|
|
30073
|
-
/***/
|
|
30074
|
+
/***/ 86299:
|
|
30074
30075
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
30075
30076
|
|
|
30076
30077
|
"use strict";
|
|
@@ -30419,8 +30420,8 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
30419
30420
|
)
|
|
30420
30421
|
|
|
30421
30422
|
/* harmony default export */ var AddSign = (component.exports);
|
|
30422
|
-
;// 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/ecwapp/PdfTools/src/ListSeals.vue?vue&type=template&id=
|
|
30423
|
-
var
|
|
30423
|
+
;// 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/ecwapp/PdfTools/src/ListSeals.vue?vue&type=template&id=7444c1f8&scoped=true
|
|
30424
|
+
var ListSealsvue_type_template_id_7444c1f8_scoped_true_render = function render() {
|
|
30424
30425
|
var _vm = this,
|
|
30425
30426
|
_c = _vm._self._c;
|
|
30426
30427
|
return _c('div', [_c('el-dialog', {
|
|
@@ -30949,7 +30950,7 @@ var ListSealsvue_type_template_id_65b50598_scoped_true_render = function render(
|
|
|
30949
30950
|
}
|
|
30950
30951
|
}, [_vm._v("盖 章")])], 1)]], 2)], 1);
|
|
30951
30952
|
};
|
|
30952
|
-
var
|
|
30953
|
+
var ListSealsvue_type_template_id_7444c1f8_scoped_true_staticRenderFns = [];
|
|
30953
30954
|
|
|
30954
30955
|
;// 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/ecwapp/PdfTools/src/ListSeals.vue?vue&type=script&lang=js
|
|
30955
30956
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
@@ -31071,28 +31072,27 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31071
31072
|
var password = null;
|
|
31072
31073
|
this.dVisible = true;
|
|
31073
31074
|
new Promise(function (resolve, reject) {
|
|
31074
|
-
|
|
31075
|
-
|
|
31076
|
-
|
|
31077
|
-
|
|
31078
|
-
|
|
31079
|
-
|
|
31080
|
-
|
|
31081
|
-
|
|
31082
|
-
|
|
31083
|
-
|
|
31084
|
-
|
|
31085
|
-
|
|
31086
|
-
|
|
31087
|
-
password = encrypt.encrypt(_this.sealPassword);
|
|
31075
|
+
_this.$http({
|
|
31076
|
+
method: 'GET',
|
|
31077
|
+
url: 'login/getRsaPublicKey'
|
|
31078
|
+
}).then(function (res) {
|
|
31079
|
+
if (res.code === 'success') {
|
|
31080
|
+
_this.encrypt = new window.JSEncrypt();
|
|
31081
|
+
_this.encrypt.setPublicKey(res.body.rsaPublicKey);
|
|
31082
|
+
if (!_this.isInputPassword) {
|
|
31083
|
+
resolve(true);
|
|
31084
|
+
} else {
|
|
31085
|
+
_this.formValidate(function () {
|
|
31086
|
+
account = _this.encrypt.encrypt(_this.sealAccount);
|
|
31087
|
+
password = _this.encrypt.encrypt(_this.sealPassword);
|
|
31088
31088
|
resolve(true);
|
|
31089
|
-
}
|
|
31090
|
-
|
|
31091
|
-
|
|
31092
|
-
|
|
31093
|
-
|
|
31094
|
-
}
|
|
31095
|
-
}
|
|
31089
|
+
});
|
|
31090
|
+
}
|
|
31091
|
+
} else {
|
|
31092
|
+
_this.$message.error(res.message);
|
|
31093
|
+
reject(res.message);
|
|
31094
|
+
}
|
|
31095
|
+
});
|
|
31096
31096
|
}).then(function (result) {
|
|
31097
31097
|
_this.inputpwd = false;
|
|
31098
31098
|
// if (!this.isGetList) {
|
|
@@ -31109,8 +31109,8 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31109
31109
|
console.log(account, _this.sealAccount, 'this.sealAccount');
|
|
31110
31110
|
console.log(password, _this.sealPassword, 'this.sealPassword');
|
|
31111
31111
|
var params = {
|
|
31112
|
-
sealAccount: account || _this.
|
|
31113
|
-
sealPassword: password || _this.
|
|
31112
|
+
sealAccount: account || _this.encrypt.encrypt(_this.sealAccount),
|
|
31113
|
+
sealPassword: password || _this.encrypt.encrypt(_this.sealPassword)
|
|
31114
31114
|
};
|
|
31115
31115
|
if (!_this.isInputPassword) {
|
|
31116
31116
|
params = {};
|
|
@@ -31143,7 +31143,7 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31143
31143
|
if (this.signPageType === 2 && !this.PageNumber) return this.$message.warning(this.$tx('ecwapp.PdfTools.inputStampPageNumber', '请输入需要盖章的页码!'));
|
|
31144
31144
|
seal.imgFileData = seal.preview;
|
|
31145
31145
|
seal.sealSessionId = this.sealSessionId;
|
|
31146
|
-
seal.sealPassword = this.
|
|
31146
|
+
seal.sealPassword = this.encrypt.encrypt(this.sealPassword);
|
|
31147
31147
|
this.dVisible = false;
|
|
31148
31148
|
this.$emit('addSucc', seal, this.currentSignPageType);
|
|
31149
31149
|
},
|
|
@@ -31157,9 +31157,9 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31157
31157
|
});
|
|
31158
31158
|
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue?vue&type=script&lang=js
|
|
31159
31159
|
/* harmony default export */ var src_ListSealsvue_type_script_lang_js = (ListSealsvue_type_script_lang_js);
|
|
31160
|
-
// 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/ecwapp/PdfTools/src/ListSeals.vue?vue&type=style&index=0&id=
|
|
31161
|
-
var
|
|
31162
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue?vue&type=style&index=0&id=
|
|
31160
|
+
// 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/ecwapp/PdfTools/src/ListSeals.vue?vue&type=style&index=0&id=7444c1f8&prod&scoped=true&lang=scss
|
|
31161
|
+
var ListSealsvue_type_style_index_0_id_7444c1f8_prod_scoped_true_lang_scss = __webpack_require__(81297);
|
|
31162
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue?vue&type=style&index=0&id=7444c1f8&prod&scoped=true&lang=scss
|
|
31163
31163
|
|
|
31164
31164
|
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue
|
|
31165
31165
|
|
|
@@ -31172,11 +31172,11 @@ var ListSealsvue_type_style_index_0_id_65b50598_prod_scoped_true_lang_scss = __w
|
|
|
31172
31172
|
|
|
31173
31173
|
var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
31174
31174
|
src_ListSealsvue_type_script_lang_js,
|
|
31175
|
-
|
|
31176
|
-
|
|
31175
|
+
ListSealsvue_type_template_id_7444c1f8_scoped_true_render,
|
|
31176
|
+
ListSealsvue_type_template_id_7444c1f8_scoped_true_staticRenderFns,
|
|
31177
31177
|
false,
|
|
31178
31178
|
null,
|
|
31179
|
-
"
|
|
31179
|
+
"7444c1f8",
|
|
31180
31180
|
null
|
|
31181
31181
|
|
|
31182
31182
|
)
|
|
@@ -165244,7 +165244,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "h4[data-v-054a9889]{margin:0;padding:0
|
|
|
165244
165244
|
|
|
165245
165245
|
/***/ }),
|
|
165246
165246
|
|
|
165247
|
-
/***/
|
|
165247
|
+
/***/ 32015:
|
|
165248
165248
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
165249
165249
|
|
|
165250
165250
|
"use strict";
|
|
@@ -165258,7 +165258,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
165258
165258
|
|
|
165259
165259
|
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()));
|
|
165260
165260
|
// Module
|
|
165261
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".title[data-v-
|
|
165261
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".title[data-v-7444c1f8]{display:block;text-align:left}.department[data-v-7444c1f8]{float:left}.bottom[data-v-7444c1f8]{margin-top:13px;line-height:20px;height:30px}.button[data-v-7444c1f8]{padding:0;float:right}.image[data-v-7444c1f8]{margin-top:10px;display:block}[data-v-7444c1f8] .el-image__inner{width:120px;height:120px}[data-v-7444c1f8] .el-card__body{text-align:center}.custom-radio[data-v-7444c1f8] .el-radio__input.is-checked+.el-radio__label:before{content:\"\";font-size:16px;position:absolute;left:5px;top:2px;color:#409eff}.custom-radio[data-v-7444c1f8] .el-radio__inner{display:none}", ""]);
|
|
165262
165262
|
// Exports
|
|
165263
165263
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
165264
165264
|
|
|
@@ -261610,19 +261610,19 @@ var update = add("868e7aa6", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
261610
261610
|
|
|
261611
261611
|
/***/ }),
|
|
261612
261612
|
|
|
261613
|
-
/***/
|
|
261613
|
+
/***/ 81297:
|
|
261614
261614
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
261615
261615
|
|
|
261616
261616
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
261617
261617
|
|
|
261618
261618
|
// load the styles
|
|
261619
|
-
var content = __webpack_require__(
|
|
261619
|
+
var content = __webpack_require__(32015);
|
|
261620
261620
|
if(content.__esModule) content = content.default;
|
|
261621
261621
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
261622
261622
|
if(content.locals) module.exports = content.locals;
|
|
261623
261623
|
// add the styles to the DOM
|
|
261624
261624
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
261625
|
-
var update = add("
|
|
261625
|
+
var update = add("cfff4190", content, true, {"sourceMap":false,"shadowMode":false});
|
|
261626
261626
|
|
|
261627
261627
|
/***/ }),
|
|
261628
261628
|
|
|
@@ -270831,11 +270831,17 @@ var user_install = function install(Vue) {
|
|
|
270831
270831
|
method: 'get'
|
|
270832
270832
|
});
|
|
270833
270833
|
},
|
|
270834
|
-
findUserRolePermissions: function findUserRolePermissions() {
|
|
270835
|
-
|
|
270834
|
+
findUserRolePermissions: function findUserRolePermissions(jwtToken) {
|
|
270835
|
+
var req = {
|
|
270836
270836
|
url: 'base/resRolePermission/getUserRolePermissions',
|
|
270837
270837
|
method: 'get'
|
|
270838
|
-
}
|
|
270838
|
+
};
|
|
270839
|
+
if (jwtToken) {
|
|
270840
|
+
req.params = {
|
|
270841
|
+
jwtToken: jwtToken
|
|
270842
|
+
};
|
|
270843
|
+
}
|
|
270844
|
+
return httpRequest(req);
|
|
270839
270845
|
},
|
|
270840
270846
|
findH5apps: function findH5apps() {
|
|
270841
270847
|
var searchFields = [{
|
|
@@ -285727,7 +285733,7 @@ var asyncComponents = [
|
|
|
285727
285733
|
}], ['ModifyFormTrace', function () {
|
|
285728
285734
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 26022));
|
|
285729
285735
|
}], ['PdfTools', function () {
|
|
285730
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285736
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 86299));
|
|
285731
285737
|
}], ['RichtextEditor', function () {
|
|
285732
285738
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56504));
|
|
285733
285739
|
}], ['PDFInjector', function () {
|
|
@@ -286166,7 +286172,7 @@ var SystemDesignerModule = function SystemDesignerModule() {
|
|
|
286166
286172
|
|
|
286167
286173
|
// ---------- 其他重型功能 ----------
|
|
286168
286174
|
var PdfToolsModule = function PdfToolsModule() {
|
|
286169
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286175
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 86299));
|
|
286170
286176
|
};
|
|
286171
286177
|
var RichtextEditorModule = function RichtextEditorModule() {
|
|
286172
286178
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56504));
|
package/lib/ecwappaio.umd.js
CHANGED
|
@@ -26624,7 +26624,7 @@ var actions = {
|
|
|
26624
26624
|
case 0:
|
|
26625
26625
|
jwtToken = inJwtToken || window.$auth.getToken();
|
|
26626
26626
|
if (!((!state.loginUser.userId || !state.productCodeAll || inJwtToken) && jwtToken)) {
|
|
26627
|
-
_context3.next =
|
|
26627
|
+
_context3.next = 11;
|
|
26628
26628
|
break;
|
|
26629
26629
|
}
|
|
26630
26630
|
_context3.next = 4;
|
|
@@ -26633,7 +26633,8 @@ var actions = {
|
|
|
26633
26633
|
loginUser = _context3.sent;
|
|
26634
26634
|
commit('SET_TOKEN', window.$auth.getToken());
|
|
26635
26635
|
commit('SET_LOGIN_USER', loginUser);
|
|
26636
|
-
window.$
|
|
26636
|
+
window.$auth.removeTicket();
|
|
26637
|
+
window.$user.findUserRolePermissions(jwtToken).then(function (response) {
|
|
26637
26638
|
if (response.code === 'success') {
|
|
26638
26639
|
var data = response.body;
|
|
26639
26640
|
window.$auth.setProductCode(data['PRODUCT_CODE_LIST'], loginUser.sysCode);
|
|
@@ -26660,11 +26661,11 @@ var actions = {
|
|
|
26660
26661
|
}).catch(function (error) {
|
|
26661
26662
|
resolve(error);
|
|
26662
26663
|
});
|
|
26663
|
-
_context3.next =
|
|
26664
|
+
_context3.next = 12;
|
|
26664
26665
|
break;
|
|
26665
|
-
case 10:
|
|
26666
|
-
resolve(true);
|
|
26667
26666
|
case 11:
|
|
26667
|
+
resolve(true);
|
|
26668
|
+
case 12:
|
|
26668
26669
|
case "end":
|
|
26669
26670
|
return _context3.stop();
|
|
26670
26671
|
}
|
|
@@ -30080,7 +30081,7 @@ src.install = function (Vue) {
|
|
|
30080
30081
|
|
|
30081
30082
|
/***/ }),
|
|
30082
30083
|
|
|
30083
|
-
/***/
|
|
30084
|
+
/***/ 66302:
|
|
30084
30085
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
30085
30086
|
|
|
30086
30087
|
"use strict";
|
|
@@ -30429,8 +30430,8 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
30429
30430
|
)
|
|
30430
30431
|
|
|
30431
30432
|
/* harmony default export */ var AddSign = (component.exports);
|
|
30432
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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/ecwapp/PdfTools/src/ListSeals.vue?vue&type=template&id=
|
|
30433
|
-
var
|
|
30433
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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/ecwapp/PdfTools/src/ListSeals.vue?vue&type=template&id=7444c1f8&scoped=true
|
|
30434
|
+
var ListSealsvue_type_template_id_7444c1f8_scoped_true_render = function render() {
|
|
30434
30435
|
var _vm = this,
|
|
30435
30436
|
_c = _vm._self._c;
|
|
30436
30437
|
return _c('div', [_c('el-dialog', {
|
|
@@ -30959,7 +30960,7 @@ var ListSealsvue_type_template_id_65b50598_scoped_true_render = function render(
|
|
|
30959
30960
|
}
|
|
30960
30961
|
}, [_vm._v("盖 章")])], 1)]], 2)], 1);
|
|
30961
30962
|
};
|
|
30962
|
-
var
|
|
30963
|
+
var ListSealsvue_type_template_id_7444c1f8_scoped_true_staticRenderFns = [];
|
|
30963
30964
|
|
|
30964
30965
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/PdfTools/src/ListSeals.vue?vue&type=script&lang=js
|
|
30965
30966
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
@@ -31081,28 +31082,27 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31081
31082
|
var password = null;
|
|
31082
31083
|
this.dVisible = true;
|
|
31083
31084
|
new Promise(function (resolve, reject) {
|
|
31084
|
-
|
|
31085
|
-
|
|
31086
|
-
|
|
31087
|
-
|
|
31088
|
-
|
|
31089
|
-
|
|
31090
|
-
|
|
31091
|
-
|
|
31092
|
-
|
|
31093
|
-
|
|
31094
|
-
|
|
31095
|
-
|
|
31096
|
-
|
|
31097
|
-
password = encrypt.encrypt(_this.sealPassword);
|
|
31085
|
+
_this.$http({
|
|
31086
|
+
method: 'GET',
|
|
31087
|
+
url: 'login/getRsaPublicKey'
|
|
31088
|
+
}).then(function (res) {
|
|
31089
|
+
if (res.code === 'success') {
|
|
31090
|
+
_this.encrypt = new window.JSEncrypt();
|
|
31091
|
+
_this.encrypt.setPublicKey(res.body.rsaPublicKey);
|
|
31092
|
+
if (!_this.isInputPassword) {
|
|
31093
|
+
resolve(true);
|
|
31094
|
+
} else {
|
|
31095
|
+
_this.formValidate(function () {
|
|
31096
|
+
account = _this.encrypt.encrypt(_this.sealAccount);
|
|
31097
|
+
password = _this.encrypt.encrypt(_this.sealPassword);
|
|
31098
31098
|
resolve(true);
|
|
31099
|
-
}
|
|
31100
|
-
|
|
31101
|
-
|
|
31102
|
-
|
|
31103
|
-
|
|
31104
|
-
}
|
|
31105
|
-
}
|
|
31099
|
+
});
|
|
31100
|
+
}
|
|
31101
|
+
} else {
|
|
31102
|
+
_this.$message.error(res.message);
|
|
31103
|
+
reject(res.message);
|
|
31104
|
+
}
|
|
31105
|
+
});
|
|
31106
31106
|
}).then(function (result) {
|
|
31107
31107
|
_this.inputpwd = false;
|
|
31108
31108
|
// if (!this.isGetList) {
|
|
@@ -31119,8 +31119,8 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31119
31119
|
console.log(account, _this.sealAccount, 'this.sealAccount');
|
|
31120
31120
|
console.log(password, _this.sealPassword, 'this.sealPassword');
|
|
31121
31121
|
var params = {
|
|
31122
|
-
sealAccount: account || _this.
|
|
31123
|
-
sealPassword: password || _this.
|
|
31122
|
+
sealAccount: account || _this.encrypt.encrypt(_this.sealAccount),
|
|
31123
|
+
sealPassword: password || _this.encrypt.encrypt(_this.sealPassword)
|
|
31124
31124
|
};
|
|
31125
31125
|
if (!_this.isInputPassword) {
|
|
31126
31126
|
params = {};
|
|
@@ -31153,7 +31153,7 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31153
31153
|
if (this.signPageType === 2 && !this.PageNumber) return this.$message.warning(this.$tx('ecwapp.PdfTools.inputStampPageNumber', '请输入需要盖章的页码!'));
|
|
31154
31154
|
seal.imgFileData = seal.preview;
|
|
31155
31155
|
seal.sealSessionId = this.sealSessionId;
|
|
31156
|
-
seal.sealPassword = this.
|
|
31156
|
+
seal.sealPassword = this.encrypt.encrypt(this.sealPassword);
|
|
31157
31157
|
this.dVisible = false;
|
|
31158
31158
|
this.$emit('addSucc', seal, this.currentSignPageType);
|
|
31159
31159
|
},
|
|
@@ -31167,9 +31167,9 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31167
31167
|
});
|
|
31168
31168
|
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue?vue&type=script&lang=js
|
|
31169
31169
|
/* harmony default export */ var src_ListSealsvue_type_script_lang_js = (ListSealsvue_type_script_lang_js);
|
|
31170
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/PdfTools/src/ListSeals.vue?vue&type=style&index=0&id=
|
|
31171
|
-
var
|
|
31172
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue?vue&type=style&index=0&id=
|
|
31170
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/PdfTools/src/ListSeals.vue?vue&type=style&index=0&id=7444c1f8&prod&scoped=true&lang=scss
|
|
31171
|
+
var ListSealsvue_type_style_index_0_id_7444c1f8_prod_scoped_true_lang_scss = __webpack_require__(53558);
|
|
31172
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue?vue&type=style&index=0&id=7444c1f8&prod&scoped=true&lang=scss
|
|
31173
31173
|
|
|
31174
31174
|
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue
|
|
31175
31175
|
|
|
@@ -31182,11 +31182,11 @@ var ListSealsvue_type_style_index_0_id_65b50598_prod_scoped_true_lang_scss = __w
|
|
|
31182
31182
|
|
|
31183
31183
|
var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
31184
31184
|
src_ListSealsvue_type_script_lang_js,
|
|
31185
|
-
|
|
31186
|
-
|
|
31185
|
+
ListSealsvue_type_template_id_7444c1f8_scoped_true_render,
|
|
31186
|
+
ListSealsvue_type_template_id_7444c1f8_scoped_true_staticRenderFns,
|
|
31187
31187
|
false,
|
|
31188
31188
|
null,
|
|
31189
|
-
"
|
|
31189
|
+
"7444c1f8",
|
|
31190
31190
|
null
|
|
31191
31191
|
|
|
31192
31192
|
)
|
|
@@ -165254,7 +165254,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "h4[data-v-054a9889]{margin:0;padding:0
|
|
|
165254
165254
|
|
|
165255
165255
|
/***/ }),
|
|
165256
165256
|
|
|
165257
|
-
/***/
|
|
165257
|
+
/***/ 63413:
|
|
165258
165258
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
165259
165259
|
|
|
165260
165260
|
"use strict";
|
|
@@ -165268,7 +165268,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
165268
165268
|
|
|
165269
165269
|
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()));
|
|
165270
165270
|
// Module
|
|
165271
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".title[data-v-
|
|
165271
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".title[data-v-7444c1f8]{display:block;text-align:left}.department[data-v-7444c1f8]{float:left}.bottom[data-v-7444c1f8]{margin-top:13px;line-height:20px;height:30px}.button[data-v-7444c1f8]{padding:0;float:right}.image[data-v-7444c1f8]{margin-top:10px;display:block}[data-v-7444c1f8] .el-image__inner{width:120px;height:120px}[data-v-7444c1f8] .el-card__body{text-align:center}.custom-radio[data-v-7444c1f8] .el-radio__input.is-checked+.el-radio__label:before{content:\"\";font-size:16px;position:absolute;left:5px;top:2px;color:#409eff}.custom-radio[data-v-7444c1f8] .el-radio__inner{display:none}", ""]);
|
|
165272
165272
|
// Exports
|
|
165273
165273
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
165274
165274
|
|
|
@@ -261620,19 +261620,19 @@ var update = add("0ce8040b", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
261620
261620
|
|
|
261621
261621
|
/***/ }),
|
|
261622
261622
|
|
|
261623
|
-
/***/
|
|
261623
|
+
/***/ 53558:
|
|
261624
261624
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
261625
261625
|
|
|
261626
261626
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
261627
261627
|
|
|
261628
261628
|
// load the styles
|
|
261629
|
-
var content = __webpack_require__(
|
|
261629
|
+
var content = __webpack_require__(63413);
|
|
261630
261630
|
if(content.__esModule) content = content.default;
|
|
261631
261631
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
261632
261632
|
if(content.locals) module.exports = content.locals;
|
|
261633
261633
|
// add the styles to the DOM
|
|
261634
261634
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
261635
|
-
var update = add("
|
|
261635
|
+
var update = add("5c587cd4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
261636
261636
|
|
|
261637
261637
|
/***/ }),
|
|
261638
261638
|
|
|
@@ -270841,11 +270841,17 @@ var user_install = function install(Vue) {
|
|
|
270841
270841
|
method: 'get'
|
|
270842
270842
|
});
|
|
270843
270843
|
},
|
|
270844
|
-
findUserRolePermissions: function findUserRolePermissions() {
|
|
270845
|
-
|
|
270844
|
+
findUserRolePermissions: function findUserRolePermissions(jwtToken) {
|
|
270845
|
+
var req = {
|
|
270846
270846
|
url: 'base/resRolePermission/getUserRolePermissions',
|
|
270847
270847
|
method: 'get'
|
|
270848
|
-
}
|
|
270848
|
+
};
|
|
270849
|
+
if (jwtToken) {
|
|
270850
|
+
req.params = {
|
|
270851
|
+
jwtToken: jwtToken
|
|
270852
|
+
};
|
|
270853
|
+
}
|
|
270854
|
+
return httpRequest(req);
|
|
270849
270855
|
},
|
|
270850
270856
|
findH5apps: function findH5apps() {
|
|
270851
270857
|
var searchFields = [{
|
|
@@ -285737,7 +285743,7 @@ var asyncComponents = [
|
|
|
285737
285743
|
}], ['ModifyFormTrace', function () {
|
|
285738
285744
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 81106));
|
|
285739
285745
|
}], ['PdfTools', function () {
|
|
285740
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285746
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 66302));
|
|
285741
285747
|
}], ['RichtextEditor', function () {
|
|
285742
285748
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56410));
|
|
285743
285749
|
}], ['PDFInjector', function () {
|
|
@@ -286176,7 +286182,7 @@ var SystemDesignerModule = function SystemDesignerModule() {
|
|
|
286176
286182
|
|
|
286177
286183
|
// ---------- 其他重型功能 ----------
|
|
286178
286184
|
var PdfToolsModule = function PdfToolsModule() {
|
|
286179
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286185
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 66302));
|
|
286180
286186
|
};
|
|
286181
286187
|
var RichtextEditorModule = function RichtextEditorModule() {
|
|
286182
286188
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56410));
|