ecinc-cloud-wappaio 9.7.7 → 9.7.9
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 +59 -51
- package/lib/ecwappaio.umd.js +59 -51
- 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,10 @@ var actions = {
|
|
|
26623
26623
|
loginUser = _context3.sent;
|
|
26624
26624
|
commit('SET_TOKEN', window.$auth.getToken());
|
|
26625
26625
|
commit('SET_LOGIN_USER', loginUser);
|
|
26626
|
-
|
|
26626
|
+
if (inJwtToken) {
|
|
26627
|
+
window.$auth.removeTicket();
|
|
26628
|
+
}
|
|
26629
|
+
window.$user.findUserRolePermissions(jwtToken).then(function (response) {
|
|
26627
26630
|
if (response.code === 'success') {
|
|
26628
26631
|
var data = response.body;
|
|
26629
26632
|
window.$auth.setProductCode(data['PRODUCT_CODE_LIST'], loginUser.sysCode);
|
|
@@ -26650,11 +26653,11 @@ var actions = {
|
|
|
26650
26653
|
}).catch(function (error) {
|
|
26651
26654
|
resolve(error);
|
|
26652
26655
|
});
|
|
26653
|
-
_context3.next =
|
|
26656
|
+
_context3.next = 12;
|
|
26654
26657
|
break;
|
|
26655
|
-
case 10:
|
|
26656
|
-
resolve(true);
|
|
26657
26658
|
case 11:
|
|
26659
|
+
resolve(true);
|
|
26660
|
+
case 12:
|
|
26658
26661
|
case "end":
|
|
26659
26662
|
return _context3.stop();
|
|
26660
26663
|
}
|
|
@@ -30070,7 +30073,7 @@ src.install = function (Vue) {
|
|
|
30070
30073
|
|
|
30071
30074
|
/***/ }),
|
|
30072
30075
|
|
|
30073
|
-
/***/
|
|
30076
|
+
/***/ 11289:
|
|
30074
30077
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
30075
30078
|
|
|
30076
30079
|
"use strict";
|
|
@@ -30419,8 +30422,8 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
30419
30422
|
)
|
|
30420
30423
|
|
|
30421
30424
|
/* 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
|
|
30425
|
+
;// 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=f62ce8fa&scoped=true
|
|
30426
|
+
var ListSealsvue_type_template_id_f62ce8fa_scoped_true_render = function render() {
|
|
30424
30427
|
var _vm = this,
|
|
30425
30428
|
_c = _vm._self._c;
|
|
30426
30429
|
return _c('div', [_c('el-dialog', {
|
|
@@ -30949,7 +30952,7 @@ var ListSealsvue_type_template_id_65b50598_scoped_true_render = function render(
|
|
|
30949
30952
|
}
|
|
30950
30953
|
}, [_vm._v("盖 章")])], 1)]], 2)], 1);
|
|
30951
30954
|
};
|
|
30952
|
-
var
|
|
30955
|
+
var ListSealsvue_type_template_id_f62ce8fa_scoped_true_staticRenderFns = [];
|
|
30953
30956
|
|
|
30954
30957
|
;// 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
30958
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
@@ -31071,28 +31074,27 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31071
31074
|
var password = null;
|
|
31072
31075
|
this.dVisible = true;
|
|
31073
31076
|
new Promise(function (resolve, reject) {
|
|
31074
|
-
|
|
31075
|
-
|
|
31076
|
-
|
|
31077
|
-
|
|
31078
|
-
|
|
31079
|
-
|
|
31080
|
-
|
|
31081
|
-
|
|
31082
|
-
|
|
31083
|
-
|
|
31084
|
-
|
|
31085
|
-
|
|
31086
|
-
|
|
31087
|
-
password = encrypt.encrypt(_this.sealPassword);
|
|
31077
|
+
_this.$http({
|
|
31078
|
+
method: 'GET',
|
|
31079
|
+
url: 'login/getRsaPublicKey'
|
|
31080
|
+
}).then(function (res) {
|
|
31081
|
+
if (res.code === 'success') {
|
|
31082
|
+
_this.encrypt = new window.JSEncrypt();
|
|
31083
|
+
_this.encrypt.setPublicKey(res.body.rsaPublicKey);
|
|
31084
|
+
if (!_this.isInputPassword) {
|
|
31085
|
+
resolve(true);
|
|
31086
|
+
} else {
|
|
31087
|
+
_this.formValidate(function () {
|
|
31088
|
+
account = _this.encrypt.encrypt(_this.sealAccount);
|
|
31089
|
+
password = _this.encrypt.encrypt(_this.sealPassword);
|
|
31088
31090
|
resolve(true);
|
|
31089
|
-
}
|
|
31090
|
-
|
|
31091
|
-
|
|
31092
|
-
|
|
31093
|
-
|
|
31094
|
-
}
|
|
31095
|
-
}
|
|
31091
|
+
});
|
|
31092
|
+
}
|
|
31093
|
+
} else {
|
|
31094
|
+
_this.$message.error(res.message);
|
|
31095
|
+
reject(res.message);
|
|
31096
|
+
}
|
|
31097
|
+
});
|
|
31096
31098
|
}).then(function (result) {
|
|
31097
31099
|
_this.inputpwd = false;
|
|
31098
31100
|
// if (!this.isGetList) {
|
|
@@ -31106,11 +31108,9 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31106
31108
|
} else {
|
|
31107
31109
|
url = 'stamp/listSeals';
|
|
31108
31110
|
}
|
|
31109
|
-
console.log(account, _this.sealAccount, 'this.sealAccount');
|
|
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,9 @@ 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
|
-
|
|
31146
|
+
if (seal.sealPassword) {
|
|
31147
|
+
seal.sealPassword = this.encrypt.encrypt(this.sealPassword);
|
|
31148
|
+
}
|
|
31147
31149
|
this.dVisible = false;
|
|
31148
31150
|
this.$emit('addSucc', seal, this.currentSignPageType);
|
|
31149
31151
|
},
|
|
@@ -31157,9 +31159,9 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31157
31159
|
});
|
|
31158
31160
|
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue?vue&type=script&lang=js
|
|
31159
31161
|
/* 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=
|
|
31162
|
+
// 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=f62ce8fa&prod&scoped=true&lang=scss
|
|
31163
|
+
var ListSealsvue_type_style_index_0_id_f62ce8fa_prod_scoped_true_lang_scss = __webpack_require__(97735);
|
|
31164
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue?vue&type=style&index=0&id=f62ce8fa&prod&scoped=true&lang=scss
|
|
31163
31165
|
|
|
31164
31166
|
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue
|
|
31165
31167
|
|
|
@@ -31172,11 +31174,11 @@ var ListSealsvue_type_style_index_0_id_65b50598_prod_scoped_true_lang_scss = __w
|
|
|
31172
31174
|
|
|
31173
31175
|
var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
31174
31176
|
src_ListSealsvue_type_script_lang_js,
|
|
31175
|
-
|
|
31176
|
-
|
|
31177
|
+
ListSealsvue_type_template_id_f62ce8fa_scoped_true_render,
|
|
31178
|
+
ListSealsvue_type_template_id_f62ce8fa_scoped_true_staticRenderFns,
|
|
31177
31179
|
false,
|
|
31178
31180
|
null,
|
|
31179
|
-
"
|
|
31181
|
+
"f62ce8fa",
|
|
31180
31182
|
null
|
|
31181
31183
|
|
|
31182
31184
|
)
|
|
@@ -165244,7 +165246,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "h4[data-v-054a9889]{margin:0;padding:0
|
|
|
165244
165246
|
|
|
165245
165247
|
/***/ }),
|
|
165246
165248
|
|
|
165247
|
-
/***/
|
|
165249
|
+
/***/ 74109:
|
|
165248
165250
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
165249
165251
|
|
|
165250
165252
|
"use strict";
|
|
@@ -165258,7 +165260,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
165258
165260
|
|
|
165259
165261
|
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
165262
|
// Module
|
|
165261
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".title[data-v-
|
|
165263
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".title[data-v-f62ce8fa]{display:block;text-align:left}.department[data-v-f62ce8fa]{float:left}.bottom[data-v-f62ce8fa]{margin-top:13px;line-height:20px;height:30px}.button[data-v-f62ce8fa]{padding:0;float:right}.image[data-v-f62ce8fa]{margin-top:10px;display:block}[data-v-f62ce8fa] .el-image__inner{width:120px;height:120px}[data-v-f62ce8fa] .el-card__body{text-align:center}.custom-radio[data-v-f62ce8fa] .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-f62ce8fa] .el-radio__inner{display:none}", ""]);
|
|
165262
165264
|
// Exports
|
|
165263
165265
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
165264
165266
|
|
|
@@ -261610,19 +261612,19 @@ var update = add("868e7aa6", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
261610
261612
|
|
|
261611
261613
|
/***/ }),
|
|
261612
261614
|
|
|
261613
|
-
/***/
|
|
261615
|
+
/***/ 97735:
|
|
261614
261616
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
261615
261617
|
|
|
261616
261618
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
261617
261619
|
|
|
261618
261620
|
// load the styles
|
|
261619
|
-
var content = __webpack_require__(
|
|
261621
|
+
var content = __webpack_require__(74109);
|
|
261620
261622
|
if(content.__esModule) content = content.default;
|
|
261621
261623
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
261622
261624
|
if(content.locals) module.exports = content.locals;
|
|
261623
261625
|
// add the styles to the DOM
|
|
261624
261626
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
261625
|
-
var update = add("
|
|
261627
|
+
var update = add("06d59a4a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
261626
261628
|
|
|
261627
261629
|
/***/ }),
|
|
261628
261630
|
|
|
@@ -270831,11 +270833,17 @@ var user_install = function install(Vue) {
|
|
|
270831
270833
|
method: 'get'
|
|
270832
270834
|
});
|
|
270833
270835
|
},
|
|
270834
|
-
findUserRolePermissions: function findUserRolePermissions() {
|
|
270835
|
-
|
|
270836
|
+
findUserRolePermissions: function findUserRolePermissions(jwtToken) {
|
|
270837
|
+
var req = {
|
|
270836
270838
|
url: 'base/resRolePermission/getUserRolePermissions',
|
|
270837
270839
|
method: 'get'
|
|
270838
|
-
}
|
|
270840
|
+
};
|
|
270841
|
+
if (jwtToken) {
|
|
270842
|
+
req.params = {
|
|
270843
|
+
jwtToken: jwtToken
|
|
270844
|
+
};
|
|
270845
|
+
}
|
|
270846
|
+
return httpRequest(req);
|
|
270839
270847
|
},
|
|
270840
270848
|
findH5apps: function findH5apps() {
|
|
270841
270849
|
var searchFields = [{
|
|
@@ -285727,7 +285735,7 @@ var asyncComponents = [
|
|
|
285727
285735
|
}], ['ModifyFormTrace', function () {
|
|
285728
285736
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 26022));
|
|
285729
285737
|
}], ['PdfTools', function () {
|
|
285730
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285738
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 11289));
|
|
285731
285739
|
}], ['RichtextEditor', function () {
|
|
285732
285740
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56504));
|
|
285733
285741
|
}], ['PDFInjector', function () {
|
|
@@ -286166,7 +286174,7 @@ var SystemDesignerModule = function SystemDesignerModule() {
|
|
|
286166
286174
|
|
|
286167
286175
|
// ---------- 其他重型功能 ----------
|
|
286168
286176
|
var PdfToolsModule = function PdfToolsModule() {
|
|
286169
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286177
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 11289));
|
|
286170
286178
|
};
|
|
286171
286179
|
var RichtextEditorModule = function RichtextEditorModule() {
|
|
286172
286180
|
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,10 @@ var actions = {
|
|
|
26633
26633
|
loginUser = _context3.sent;
|
|
26634
26634
|
commit('SET_TOKEN', window.$auth.getToken());
|
|
26635
26635
|
commit('SET_LOGIN_USER', loginUser);
|
|
26636
|
-
|
|
26636
|
+
if (inJwtToken) {
|
|
26637
|
+
window.$auth.removeTicket();
|
|
26638
|
+
}
|
|
26639
|
+
window.$user.findUserRolePermissions(jwtToken).then(function (response) {
|
|
26637
26640
|
if (response.code === 'success') {
|
|
26638
26641
|
var data = response.body;
|
|
26639
26642
|
window.$auth.setProductCode(data['PRODUCT_CODE_LIST'], loginUser.sysCode);
|
|
@@ -26660,11 +26663,11 @@ var actions = {
|
|
|
26660
26663
|
}).catch(function (error) {
|
|
26661
26664
|
resolve(error);
|
|
26662
26665
|
});
|
|
26663
|
-
_context3.next =
|
|
26666
|
+
_context3.next = 12;
|
|
26664
26667
|
break;
|
|
26665
|
-
case 10:
|
|
26666
|
-
resolve(true);
|
|
26667
26668
|
case 11:
|
|
26669
|
+
resolve(true);
|
|
26670
|
+
case 12:
|
|
26668
26671
|
case "end":
|
|
26669
26672
|
return _context3.stop();
|
|
26670
26673
|
}
|
|
@@ -30080,7 +30083,7 @@ src.install = function (Vue) {
|
|
|
30080
30083
|
|
|
30081
30084
|
/***/ }),
|
|
30082
30085
|
|
|
30083
|
-
/***/
|
|
30086
|
+
/***/ 44568:
|
|
30084
30087
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
30085
30088
|
|
|
30086
30089
|
"use strict";
|
|
@@ -30429,8 +30432,8 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
30429
30432
|
)
|
|
30430
30433
|
|
|
30431
30434
|
/* 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
|
|
30435
|
+
;// 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=f62ce8fa&scoped=true
|
|
30436
|
+
var ListSealsvue_type_template_id_f62ce8fa_scoped_true_render = function render() {
|
|
30434
30437
|
var _vm = this,
|
|
30435
30438
|
_c = _vm._self._c;
|
|
30436
30439
|
return _c('div', [_c('el-dialog', {
|
|
@@ -30959,7 +30962,7 @@ var ListSealsvue_type_template_id_65b50598_scoped_true_render = function render(
|
|
|
30959
30962
|
}
|
|
30960
30963
|
}, [_vm._v("盖 章")])], 1)]], 2)], 1);
|
|
30961
30964
|
};
|
|
30962
|
-
var
|
|
30965
|
+
var ListSealsvue_type_template_id_f62ce8fa_scoped_true_staticRenderFns = [];
|
|
30963
30966
|
|
|
30964
30967
|
;// 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
30968
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
@@ -31081,28 +31084,27 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31081
31084
|
var password = null;
|
|
31082
31085
|
this.dVisible = true;
|
|
31083
31086
|
new Promise(function (resolve, reject) {
|
|
31084
|
-
|
|
31085
|
-
|
|
31086
|
-
|
|
31087
|
-
|
|
31088
|
-
|
|
31089
|
-
|
|
31090
|
-
|
|
31091
|
-
|
|
31092
|
-
|
|
31093
|
-
|
|
31094
|
-
|
|
31095
|
-
|
|
31096
|
-
|
|
31097
|
-
password = encrypt.encrypt(_this.sealPassword);
|
|
31087
|
+
_this.$http({
|
|
31088
|
+
method: 'GET',
|
|
31089
|
+
url: 'login/getRsaPublicKey'
|
|
31090
|
+
}).then(function (res) {
|
|
31091
|
+
if (res.code === 'success') {
|
|
31092
|
+
_this.encrypt = new window.JSEncrypt();
|
|
31093
|
+
_this.encrypt.setPublicKey(res.body.rsaPublicKey);
|
|
31094
|
+
if (!_this.isInputPassword) {
|
|
31095
|
+
resolve(true);
|
|
31096
|
+
} else {
|
|
31097
|
+
_this.formValidate(function () {
|
|
31098
|
+
account = _this.encrypt.encrypt(_this.sealAccount);
|
|
31099
|
+
password = _this.encrypt.encrypt(_this.sealPassword);
|
|
31098
31100
|
resolve(true);
|
|
31099
|
-
}
|
|
31100
|
-
|
|
31101
|
-
|
|
31102
|
-
|
|
31103
|
-
|
|
31104
|
-
}
|
|
31105
|
-
}
|
|
31101
|
+
});
|
|
31102
|
+
}
|
|
31103
|
+
} else {
|
|
31104
|
+
_this.$message.error(res.message);
|
|
31105
|
+
reject(res.message);
|
|
31106
|
+
}
|
|
31107
|
+
});
|
|
31106
31108
|
}).then(function (result) {
|
|
31107
31109
|
_this.inputpwd = false;
|
|
31108
31110
|
// if (!this.isGetList) {
|
|
@@ -31116,11 +31118,9 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31116
31118
|
} else {
|
|
31117
31119
|
url = 'stamp/listSeals';
|
|
31118
31120
|
}
|
|
31119
|
-
console.log(account, _this.sealAccount, 'this.sealAccount');
|
|
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,9 @@ 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
|
-
|
|
31156
|
+
if (seal.sealPassword) {
|
|
31157
|
+
seal.sealPassword = this.encrypt.encrypt(this.sealPassword);
|
|
31158
|
+
}
|
|
31157
31159
|
this.dVisible = false;
|
|
31158
31160
|
this.$emit('addSucc', seal, this.currentSignPageType);
|
|
31159
31161
|
},
|
|
@@ -31167,9 +31169,9 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31167
31169
|
});
|
|
31168
31170
|
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue?vue&type=script&lang=js
|
|
31169
31171
|
/* 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=
|
|
31172
|
+
// 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=f62ce8fa&prod&scoped=true&lang=scss
|
|
31173
|
+
var ListSealsvue_type_style_index_0_id_f62ce8fa_prod_scoped_true_lang_scss = __webpack_require__(79280);
|
|
31174
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue?vue&type=style&index=0&id=f62ce8fa&prod&scoped=true&lang=scss
|
|
31173
31175
|
|
|
31174
31176
|
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue
|
|
31175
31177
|
|
|
@@ -31182,11 +31184,11 @@ var ListSealsvue_type_style_index_0_id_65b50598_prod_scoped_true_lang_scss = __w
|
|
|
31182
31184
|
|
|
31183
31185
|
var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
31184
31186
|
src_ListSealsvue_type_script_lang_js,
|
|
31185
|
-
|
|
31186
|
-
|
|
31187
|
+
ListSealsvue_type_template_id_f62ce8fa_scoped_true_render,
|
|
31188
|
+
ListSealsvue_type_template_id_f62ce8fa_scoped_true_staticRenderFns,
|
|
31187
31189
|
false,
|
|
31188
31190
|
null,
|
|
31189
|
-
"
|
|
31191
|
+
"f62ce8fa",
|
|
31190
31192
|
null
|
|
31191
31193
|
|
|
31192
31194
|
)
|
|
@@ -165254,7 +165256,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "h4[data-v-054a9889]{margin:0;padding:0
|
|
|
165254
165256
|
|
|
165255
165257
|
/***/ }),
|
|
165256
165258
|
|
|
165257
|
-
/***/
|
|
165259
|
+
/***/ 23011:
|
|
165258
165260
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
165259
165261
|
|
|
165260
165262
|
"use strict";
|
|
@@ -165268,7 +165270,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
165268
165270
|
|
|
165269
165271
|
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
165272
|
// Module
|
|
165271
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".title[data-v-
|
|
165273
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".title[data-v-f62ce8fa]{display:block;text-align:left}.department[data-v-f62ce8fa]{float:left}.bottom[data-v-f62ce8fa]{margin-top:13px;line-height:20px;height:30px}.button[data-v-f62ce8fa]{padding:0;float:right}.image[data-v-f62ce8fa]{margin-top:10px;display:block}[data-v-f62ce8fa] .el-image__inner{width:120px;height:120px}[data-v-f62ce8fa] .el-card__body{text-align:center}.custom-radio[data-v-f62ce8fa] .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-f62ce8fa] .el-radio__inner{display:none}", ""]);
|
|
165272
165274
|
// Exports
|
|
165273
165275
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
165274
165276
|
|
|
@@ -261620,19 +261622,19 @@ var update = add("0ce8040b", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
261620
261622
|
|
|
261621
261623
|
/***/ }),
|
|
261622
261624
|
|
|
261623
|
-
/***/
|
|
261625
|
+
/***/ 79280:
|
|
261624
261626
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
261625
261627
|
|
|
261626
261628
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
261627
261629
|
|
|
261628
261630
|
// load the styles
|
|
261629
|
-
var content = __webpack_require__(
|
|
261631
|
+
var content = __webpack_require__(23011);
|
|
261630
261632
|
if(content.__esModule) content = content.default;
|
|
261631
261633
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
261632
261634
|
if(content.locals) module.exports = content.locals;
|
|
261633
261635
|
// add the styles to the DOM
|
|
261634
261636
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
261635
|
-
var update = add("
|
|
261637
|
+
var update = add("40a8fca8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
261636
261638
|
|
|
261637
261639
|
/***/ }),
|
|
261638
261640
|
|
|
@@ -270841,11 +270843,17 @@ var user_install = function install(Vue) {
|
|
|
270841
270843
|
method: 'get'
|
|
270842
270844
|
});
|
|
270843
270845
|
},
|
|
270844
|
-
findUserRolePermissions: function findUserRolePermissions() {
|
|
270845
|
-
|
|
270846
|
+
findUserRolePermissions: function findUserRolePermissions(jwtToken) {
|
|
270847
|
+
var req = {
|
|
270846
270848
|
url: 'base/resRolePermission/getUserRolePermissions',
|
|
270847
270849
|
method: 'get'
|
|
270848
|
-
}
|
|
270850
|
+
};
|
|
270851
|
+
if (jwtToken) {
|
|
270852
|
+
req.params = {
|
|
270853
|
+
jwtToken: jwtToken
|
|
270854
|
+
};
|
|
270855
|
+
}
|
|
270856
|
+
return httpRequest(req);
|
|
270849
270857
|
},
|
|
270850
270858
|
findH5apps: function findH5apps() {
|
|
270851
270859
|
var searchFields = [{
|
|
@@ -285737,7 +285745,7 @@ var asyncComponents = [
|
|
|
285737
285745
|
}], ['ModifyFormTrace', function () {
|
|
285738
285746
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 81106));
|
|
285739
285747
|
}], ['PdfTools', function () {
|
|
285740
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285748
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 44568));
|
|
285741
285749
|
}], ['RichtextEditor', function () {
|
|
285742
285750
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56410));
|
|
285743
285751
|
}], ['PDFInjector', function () {
|
|
@@ -286176,7 +286184,7 @@ var SystemDesignerModule = function SystemDesignerModule() {
|
|
|
286176
286184
|
|
|
286177
286185
|
// ---------- 其他重型功能 ----------
|
|
286178
286186
|
var PdfToolsModule = function PdfToolsModule() {
|
|
286179
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286187
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 44568));
|
|
286180
286188
|
};
|
|
286181
286189
|
var RichtextEditorModule = function RichtextEditorModule() {
|
|
286182
286190
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56410));
|