ecinc-cloud-wappaio 9.7.6 → 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 +62 -66
- package/lib/ecwappaio.umd.js +62 -66
- 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,18 +26623,12 @@ 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
|
-
|
|
26631
|
-
//app进入h5,不调用login
|
|
26632
|
-
window.$auth.setProductCode(data['PRODUCT_CODE_LIST'], loginUser.sysCode);
|
|
26633
|
-
window.$auth.setToken(jwtToken);
|
|
26634
|
-
}
|
|
26635
|
-
} catch (e) {
|
|
26636
|
-
console.log(e);
|
|
26637
|
-
}
|
|
26630
|
+
window.$auth.setProductCode(data['PRODUCT_CODE_LIST'], loginUser.sysCode);
|
|
26631
|
+
window.$auth.setToken(jwtToken);
|
|
26638
26632
|
window.$auth.setTicket(data[window.ecwebTicket || 'ecweb-ticket']);
|
|
26639
26633
|
window.$auth.setCsrfToken(data['ecweb-csrf-token']);
|
|
26640
26634
|
commit('SET_ROLES', data['ROLE_CODE_LIST']);
|
|
@@ -26657,11 +26651,11 @@ var actions = {
|
|
|
26657
26651
|
}).catch(function (error) {
|
|
26658
26652
|
resolve(error);
|
|
26659
26653
|
});
|
|
26660
|
-
_context3.next =
|
|
26654
|
+
_context3.next = 12;
|
|
26661
26655
|
break;
|
|
26662
|
-
case 10:
|
|
26663
|
-
resolve(true);
|
|
26664
26656
|
case 11:
|
|
26657
|
+
resolve(true);
|
|
26658
|
+
case 12:
|
|
26665
26659
|
case "end":
|
|
26666
26660
|
return _context3.stop();
|
|
26667
26661
|
}
|
|
@@ -26748,15 +26742,10 @@ var actions = {
|
|
|
26748
26742
|
window.$user.findUserRolePermissions().then(function (response) {
|
|
26749
26743
|
if (response.code === 'success') {
|
|
26750
26744
|
var data = response.body;
|
|
26751
|
-
|
|
26752
|
-
|
|
26753
|
-
|
|
26754
|
-
|
|
26755
|
-
window.$auth.setToken(jwtToken);
|
|
26756
|
-
}
|
|
26757
|
-
} catch (e) {
|
|
26758
|
-
console.log(e);
|
|
26759
|
-
}
|
|
26745
|
+
|
|
26746
|
+
// 始终先设置产品代码和令牌,确保 setTicket 使用正确的闭包 productCode
|
|
26747
|
+
window.$auth.setProductCode(data['PRODUCT_CODE_LIST'], loginUser.sysCode);
|
|
26748
|
+
window.$auth.setToken(jwtToken);
|
|
26760
26749
|
window.$auth.setTicket(data[window.ecwebTicket || 'ecweb-ticket']);
|
|
26761
26750
|
window.$auth.setCsrfToken(data['ecweb-csrf-token']);
|
|
26762
26751
|
commit('SET_ROLES', data['ROLE_CODE_LIST']);
|
|
@@ -30082,7 +30071,7 @@ src.install = function (Vue) {
|
|
|
30082
30071
|
|
|
30083
30072
|
/***/ }),
|
|
30084
30073
|
|
|
30085
|
-
/***/
|
|
30074
|
+
/***/ 86299:
|
|
30086
30075
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
30087
30076
|
|
|
30088
30077
|
"use strict";
|
|
@@ -30431,8 +30420,8 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
30431
30420
|
)
|
|
30432
30421
|
|
|
30433
30422
|
/* harmony default export */ var AddSign = (component.exports);
|
|
30434
|
-
;// 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=
|
|
30435
|
-
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() {
|
|
30436
30425
|
var _vm = this,
|
|
30437
30426
|
_c = _vm._self._c;
|
|
30438
30427
|
return _c('div', [_c('el-dialog', {
|
|
@@ -30961,7 +30950,7 @@ var ListSealsvue_type_template_id_2b2d07f5_scoped_true_render = function render(
|
|
|
30961
30950
|
}
|
|
30962
30951
|
}, [_vm._v("盖 章")])], 1)]], 2)], 1);
|
|
30963
30952
|
};
|
|
30964
|
-
var
|
|
30953
|
+
var ListSealsvue_type_template_id_7444c1f8_scoped_true_staticRenderFns = [];
|
|
30965
30954
|
|
|
30966
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
|
|
30967
30956
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
@@ -31083,27 +31072,27 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31083
31072
|
var password = null;
|
|
31084
31073
|
this.dVisible = true;
|
|
31085
31074
|
new Promise(function (resolve, reject) {
|
|
31086
|
-
|
|
31087
|
-
|
|
31088
|
-
|
|
31089
|
-
|
|
31090
|
-
|
|
31091
|
-
|
|
31092
|
-
|
|
31093
|
-
|
|
31094
|
-
|
|
31095
|
-
|
|
31096
|
-
|
|
31097
|
-
account =
|
|
31098
|
-
password =
|
|
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);
|
|
31099
31088
|
resolve(true);
|
|
31100
|
-
}
|
|
31101
|
-
|
|
31102
|
-
|
|
31103
|
-
|
|
31104
|
-
|
|
31105
|
-
}
|
|
31106
|
-
}
|
|
31089
|
+
});
|
|
31090
|
+
}
|
|
31091
|
+
} else {
|
|
31092
|
+
_this.$message.error(res.message);
|
|
31093
|
+
reject(res.message);
|
|
31094
|
+
}
|
|
31095
|
+
});
|
|
31107
31096
|
}).then(function (result) {
|
|
31108
31097
|
_this.inputpwd = false;
|
|
31109
31098
|
// if (!this.isGetList) {
|
|
@@ -31120,8 +31109,8 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31120
31109
|
console.log(account, _this.sealAccount, 'this.sealAccount');
|
|
31121
31110
|
console.log(password, _this.sealPassword, 'this.sealPassword');
|
|
31122
31111
|
var params = {
|
|
31123
|
-
sealAccount: account || encrypt.encrypt(_this.sealAccount),
|
|
31124
|
-
sealPassword: password || encrypt.encrypt(_this.sealPassword)
|
|
31112
|
+
sealAccount: account || _this.encrypt.encrypt(_this.sealAccount),
|
|
31113
|
+
sealPassword: password || _this.encrypt.encrypt(_this.sealPassword)
|
|
31125
31114
|
};
|
|
31126
31115
|
if (!_this.isInputPassword) {
|
|
31127
31116
|
params = {};
|
|
@@ -31154,7 +31143,7 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31154
31143
|
if (this.signPageType === 2 && !this.PageNumber) return this.$message.warning(this.$tx('ecwapp.PdfTools.inputStampPageNumber', '请输入需要盖章的页码!'));
|
|
31155
31144
|
seal.imgFileData = seal.preview;
|
|
31156
31145
|
seal.sealSessionId = this.sealSessionId;
|
|
31157
|
-
seal.sealPassword = encrypt.encrypt(this.sealPassword);
|
|
31146
|
+
seal.sealPassword = this.encrypt.encrypt(this.sealPassword);
|
|
31158
31147
|
this.dVisible = false;
|
|
31159
31148
|
this.$emit('addSucc', seal, this.currentSignPageType);
|
|
31160
31149
|
},
|
|
@@ -31168,9 +31157,9 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31168
31157
|
});
|
|
31169
31158
|
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue?vue&type=script&lang=js
|
|
31170
31159
|
/* harmony default export */ var src_ListSealsvue_type_script_lang_js = (ListSealsvue_type_script_lang_js);
|
|
31171
|
-
// 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=
|
|
31172
|
-
var
|
|
31173
|
-
;// 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
|
|
31174
31163
|
|
|
31175
31164
|
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue
|
|
31176
31165
|
|
|
@@ -31183,11 +31172,11 @@ var ListSealsvue_type_style_index_0_id_2b2d07f5_prod_scoped_true_lang_scss = __w
|
|
|
31183
31172
|
|
|
31184
31173
|
var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
31185
31174
|
src_ListSealsvue_type_script_lang_js,
|
|
31186
|
-
|
|
31187
|
-
|
|
31175
|
+
ListSealsvue_type_template_id_7444c1f8_scoped_true_render,
|
|
31176
|
+
ListSealsvue_type_template_id_7444c1f8_scoped_true_staticRenderFns,
|
|
31188
31177
|
false,
|
|
31189
31178
|
null,
|
|
31190
|
-
"
|
|
31179
|
+
"7444c1f8",
|
|
31191
31180
|
null
|
|
31192
31181
|
|
|
31193
31182
|
)
|
|
@@ -165255,7 +165244,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "h4[data-v-054a9889]{margin:0;padding:0
|
|
|
165255
165244
|
|
|
165256
165245
|
/***/ }),
|
|
165257
165246
|
|
|
165258
|
-
/***/
|
|
165247
|
+
/***/ 32015:
|
|
165259
165248
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
165260
165249
|
|
|
165261
165250
|
"use strict";
|
|
@@ -165269,7 +165258,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
165269
165258
|
|
|
165270
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()));
|
|
165271
165260
|
// Module
|
|
165272
|
-
___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}", ""]);
|
|
165273
165262
|
// Exports
|
|
165274
165263
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
165275
165264
|
|
|
@@ -261621,19 +261610,19 @@ var update = add("868e7aa6", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
261621
261610
|
|
|
261622
261611
|
/***/ }),
|
|
261623
261612
|
|
|
261624
|
-
/***/
|
|
261613
|
+
/***/ 81297:
|
|
261625
261614
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
261626
261615
|
|
|
261627
261616
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
261628
261617
|
|
|
261629
261618
|
// load the styles
|
|
261630
|
-
var content = __webpack_require__(
|
|
261619
|
+
var content = __webpack_require__(32015);
|
|
261631
261620
|
if(content.__esModule) content = content.default;
|
|
261632
261621
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
261633
261622
|
if(content.locals) module.exports = content.locals;
|
|
261634
261623
|
// add the styles to the DOM
|
|
261635
261624
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
261636
|
-
var update = add("
|
|
261625
|
+
var update = add("cfff4190", content, true, {"sourceMap":false,"shadowMode":false});
|
|
261637
261626
|
|
|
261638
261627
|
/***/ }),
|
|
261639
261628
|
|
|
@@ -270686,6 +270675,7 @@ var auth_install = function install(Vue) {
|
|
|
270686
270675
|
},
|
|
270687
270676
|
removeTicket: function removeTicket() {
|
|
270688
270677
|
js_cookie_default().remove((window.ecwebTicket || 'ecweb-ticket') + port);
|
|
270678
|
+
js_cookie_default().remove((window.ecwebTicket || 'ecweb-ticket') + productCode);
|
|
270689
270679
|
return sessionStorage.removeItem((window.ecwebTicket || 'ecweb-ticket') + productCode);
|
|
270690
270680
|
},
|
|
270691
270681
|
getToken: function getToken() {
|
|
@@ -270841,11 +270831,17 @@ var user_install = function install(Vue) {
|
|
|
270841
270831
|
method: 'get'
|
|
270842
270832
|
});
|
|
270843
270833
|
},
|
|
270844
|
-
findUserRolePermissions: function findUserRolePermissions() {
|
|
270845
|
-
|
|
270834
|
+
findUserRolePermissions: function findUserRolePermissions(jwtToken) {
|
|
270835
|
+
var req = {
|
|
270846
270836
|
url: 'base/resRolePermission/getUserRolePermissions',
|
|
270847
270837
|
method: 'get'
|
|
270848
|
-
}
|
|
270838
|
+
};
|
|
270839
|
+
if (jwtToken) {
|
|
270840
|
+
req.params = {
|
|
270841
|
+
jwtToken: jwtToken
|
|
270842
|
+
};
|
|
270843
|
+
}
|
|
270844
|
+
return httpRequest(req);
|
|
270849
270845
|
},
|
|
270850
270846
|
findH5apps: function findH5apps() {
|
|
270851
270847
|
var searchFields = [{
|
|
@@ -285737,7 +285733,7 @@ var asyncComponents = [
|
|
|
285737
285733
|
}], ['ModifyFormTrace', function () {
|
|
285738
285734
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 26022));
|
|
285739
285735
|
}], ['PdfTools', function () {
|
|
285740
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285736
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 86299));
|
|
285741
285737
|
}], ['RichtextEditor', function () {
|
|
285742
285738
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56504));
|
|
285743
285739
|
}], ['PDFInjector', function () {
|
|
@@ -286176,7 +286172,7 @@ var SystemDesignerModule = function SystemDesignerModule() {
|
|
|
286176
286172
|
|
|
286177
286173
|
// ---------- 其他重型功能 ----------
|
|
286178
286174
|
var PdfToolsModule = function PdfToolsModule() {
|
|
286179
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286175
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 86299));
|
|
286180
286176
|
};
|
|
286181
286177
|
var RichtextEditorModule = function RichtextEditorModule() {
|
|
286182
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,18 +26633,12 @@ 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
|
-
|
|
26641
|
-
//app进入h5,不调用login
|
|
26642
|
-
window.$auth.setProductCode(data['PRODUCT_CODE_LIST'], loginUser.sysCode);
|
|
26643
|
-
window.$auth.setToken(jwtToken);
|
|
26644
|
-
}
|
|
26645
|
-
} catch (e) {
|
|
26646
|
-
console.log(e);
|
|
26647
|
-
}
|
|
26640
|
+
window.$auth.setProductCode(data['PRODUCT_CODE_LIST'], loginUser.sysCode);
|
|
26641
|
+
window.$auth.setToken(jwtToken);
|
|
26648
26642
|
window.$auth.setTicket(data[window.ecwebTicket || 'ecweb-ticket']);
|
|
26649
26643
|
window.$auth.setCsrfToken(data['ecweb-csrf-token']);
|
|
26650
26644
|
commit('SET_ROLES', data['ROLE_CODE_LIST']);
|
|
@@ -26667,11 +26661,11 @@ var actions = {
|
|
|
26667
26661
|
}).catch(function (error) {
|
|
26668
26662
|
resolve(error);
|
|
26669
26663
|
});
|
|
26670
|
-
_context3.next =
|
|
26664
|
+
_context3.next = 12;
|
|
26671
26665
|
break;
|
|
26672
|
-
case 10:
|
|
26673
|
-
resolve(true);
|
|
26674
26666
|
case 11:
|
|
26667
|
+
resolve(true);
|
|
26668
|
+
case 12:
|
|
26675
26669
|
case "end":
|
|
26676
26670
|
return _context3.stop();
|
|
26677
26671
|
}
|
|
@@ -26758,15 +26752,10 @@ var actions = {
|
|
|
26758
26752
|
window.$user.findUserRolePermissions().then(function (response) {
|
|
26759
26753
|
if (response.code === 'success') {
|
|
26760
26754
|
var data = response.body;
|
|
26761
|
-
|
|
26762
|
-
|
|
26763
|
-
|
|
26764
|
-
|
|
26765
|
-
window.$auth.setToken(jwtToken);
|
|
26766
|
-
}
|
|
26767
|
-
} catch (e) {
|
|
26768
|
-
console.log(e);
|
|
26769
|
-
}
|
|
26755
|
+
|
|
26756
|
+
// 始终先设置产品代码和令牌,确保 setTicket 使用正确的闭包 productCode
|
|
26757
|
+
window.$auth.setProductCode(data['PRODUCT_CODE_LIST'], loginUser.sysCode);
|
|
26758
|
+
window.$auth.setToken(jwtToken);
|
|
26770
26759
|
window.$auth.setTicket(data[window.ecwebTicket || 'ecweb-ticket']);
|
|
26771
26760
|
window.$auth.setCsrfToken(data['ecweb-csrf-token']);
|
|
26772
26761
|
commit('SET_ROLES', data['ROLE_CODE_LIST']);
|
|
@@ -30092,7 +30081,7 @@ src.install = function (Vue) {
|
|
|
30092
30081
|
|
|
30093
30082
|
/***/ }),
|
|
30094
30083
|
|
|
30095
|
-
/***/
|
|
30084
|
+
/***/ 66302:
|
|
30096
30085
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
30097
30086
|
|
|
30098
30087
|
"use strict";
|
|
@@ -30441,8 +30430,8 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
30441
30430
|
)
|
|
30442
30431
|
|
|
30443
30432
|
/* harmony default export */ var AddSign = (component.exports);
|
|
30444
|
-
;// 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=
|
|
30445
|
-
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() {
|
|
30446
30435
|
var _vm = this,
|
|
30447
30436
|
_c = _vm._self._c;
|
|
30448
30437
|
return _c('div', [_c('el-dialog', {
|
|
@@ -30971,7 +30960,7 @@ var ListSealsvue_type_template_id_2b2d07f5_scoped_true_render = function render(
|
|
|
30971
30960
|
}
|
|
30972
30961
|
}, [_vm._v("盖 章")])], 1)]], 2)], 1);
|
|
30973
30962
|
};
|
|
30974
|
-
var
|
|
30963
|
+
var ListSealsvue_type_template_id_7444c1f8_scoped_true_staticRenderFns = [];
|
|
30975
30964
|
|
|
30976
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
|
|
30977
30966
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
@@ -31093,27 +31082,27 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31093
31082
|
var password = null;
|
|
31094
31083
|
this.dVisible = true;
|
|
31095
31084
|
new Promise(function (resolve, reject) {
|
|
31096
|
-
|
|
31097
|
-
|
|
31098
|
-
|
|
31099
|
-
|
|
31100
|
-
|
|
31101
|
-
|
|
31102
|
-
|
|
31103
|
-
|
|
31104
|
-
|
|
31105
|
-
|
|
31106
|
-
|
|
31107
|
-
account =
|
|
31108
|
-
password =
|
|
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);
|
|
31109
31098
|
resolve(true);
|
|
31110
|
-
}
|
|
31111
|
-
|
|
31112
|
-
|
|
31113
|
-
|
|
31114
|
-
|
|
31115
|
-
}
|
|
31116
|
-
}
|
|
31099
|
+
});
|
|
31100
|
+
}
|
|
31101
|
+
} else {
|
|
31102
|
+
_this.$message.error(res.message);
|
|
31103
|
+
reject(res.message);
|
|
31104
|
+
}
|
|
31105
|
+
});
|
|
31117
31106
|
}).then(function (result) {
|
|
31118
31107
|
_this.inputpwd = false;
|
|
31119
31108
|
// if (!this.isGetList) {
|
|
@@ -31130,8 +31119,8 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31130
31119
|
console.log(account, _this.sealAccount, 'this.sealAccount');
|
|
31131
31120
|
console.log(password, _this.sealPassword, 'this.sealPassword');
|
|
31132
31121
|
var params = {
|
|
31133
|
-
sealAccount: account || encrypt.encrypt(_this.sealAccount),
|
|
31134
|
-
sealPassword: password || encrypt.encrypt(_this.sealPassword)
|
|
31122
|
+
sealAccount: account || _this.encrypt.encrypt(_this.sealAccount),
|
|
31123
|
+
sealPassword: password || _this.encrypt.encrypt(_this.sealPassword)
|
|
31135
31124
|
};
|
|
31136
31125
|
if (!_this.isInputPassword) {
|
|
31137
31126
|
params = {};
|
|
@@ -31164,7 +31153,7 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31164
31153
|
if (this.signPageType === 2 && !this.PageNumber) return this.$message.warning(this.$tx('ecwapp.PdfTools.inputStampPageNumber', '请输入需要盖章的页码!'));
|
|
31165
31154
|
seal.imgFileData = seal.preview;
|
|
31166
31155
|
seal.sealSessionId = this.sealSessionId;
|
|
31167
|
-
seal.sealPassword = encrypt.encrypt(this.sealPassword);
|
|
31156
|
+
seal.sealPassword = this.encrypt.encrypt(this.sealPassword);
|
|
31168
31157
|
this.dVisible = false;
|
|
31169
31158
|
this.$emit('addSucc', seal, this.currentSignPageType);
|
|
31170
31159
|
},
|
|
@@ -31178,9 +31167,9 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
31178
31167
|
});
|
|
31179
31168
|
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue?vue&type=script&lang=js
|
|
31180
31169
|
/* harmony default export */ var src_ListSealsvue_type_script_lang_js = (ListSealsvue_type_script_lang_js);
|
|
31181
|
-
// 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=
|
|
31182
|
-
var
|
|
31183
|
-
;// 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
|
|
31184
31173
|
|
|
31185
31174
|
;// CONCATENATED MODULE: ./packages/ecwapp/PdfTools/src/ListSeals.vue
|
|
31186
31175
|
|
|
@@ -31193,11 +31182,11 @@ var ListSealsvue_type_style_index_0_id_2b2d07f5_prod_scoped_true_lang_scss = __w
|
|
|
31193
31182
|
|
|
31194
31183
|
var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
31195
31184
|
src_ListSealsvue_type_script_lang_js,
|
|
31196
|
-
|
|
31197
|
-
|
|
31185
|
+
ListSealsvue_type_template_id_7444c1f8_scoped_true_render,
|
|
31186
|
+
ListSealsvue_type_template_id_7444c1f8_scoped_true_staticRenderFns,
|
|
31198
31187
|
false,
|
|
31199
31188
|
null,
|
|
31200
|
-
"
|
|
31189
|
+
"7444c1f8",
|
|
31201
31190
|
null
|
|
31202
31191
|
|
|
31203
31192
|
)
|
|
@@ -165265,7 +165254,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "h4[data-v-054a9889]{margin:0;padding:0
|
|
|
165265
165254
|
|
|
165266
165255
|
/***/ }),
|
|
165267
165256
|
|
|
165268
|
-
/***/
|
|
165257
|
+
/***/ 63413:
|
|
165269
165258
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
165270
165259
|
|
|
165271
165260
|
"use strict";
|
|
@@ -165279,7 +165268,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
165279
165268
|
|
|
165280
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()));
|
|
165281
165270
|
// Module
|
|
165282
|
-
___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}", ""]);
|
|
165283
165272
|
// Exports
|
|
165284
165273
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
165285
165274
|
|
|
@@ -261631,19 +261620,19 @@ var update = add("0ce8040b", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
261631
261620
|
|
|
261632
261621
|
/***/ }),
|
|
261633
261622
|
|
|
261634
|
-
/***/
|
|
261623
|
+
/***/ 53558:
|
|
261635
261624
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
261636
261625
|
|
|
261637
261626
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
261638
261627
|
|
|
261639
261628
|
// load the styles
|
|
261640
|
-
var content = __webpack_require__(
|
|
261629
|
+
var content = __webpack_require__(63413);
|
|
261641
261630
|
if(content.__esModule) content = content.default;
|
|
261642
261631
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
261643
261632
|
if(content.locals) module.exports = content.locals;
|
|
261644
261633
|
// add the styles to the DOM
|
|
261645
261634
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
261646
|
-
var update = add("
|
|
261635
|
+
var update = add("5c587cd4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
261647
261636
|
|
|
261648
261637
|
/***/ }),
|
|
261649
261638
|
|
|
@@ -270696,6 +270685,7 @@ var auth_install = function install(Vue) {
|
|
|
270696
270685
|
},
|
|
270697
270686
|
removeTicket: function removeTicket() {
|
|
270698
270687
|
js_cookie_default().remove((window.ecwebTicket || 'ecweb-ticket') + port);
|
|
270688
|
+
js_cookie_default().remove((window.ecwebTicket || 'ecweb-ticket') + productCode);
|
|
270699
270689
|
return sessionStorage.removeItem((window.ecwebTicket || 'ecweb-ticket') + productCode);
|
|
270700
270690
|
},
|
|
270701
270691
|
getToken: function getToken() {
|
|
@@ -270851,11 +270841,17 @@ var user_install = function install(Vue) {
|
|
|
270851
270841
|
method: 'get'
|
|
270852
270842
|
});
|
|
270853
270843
|
},
|
|
270854
|
-
findUserRolePermissions: function findUserRolePermissions() {
|
|
270855
|
-
|
|
270844
|
+
findUserRolePermissions: function findUserRolePermissions(jwtToken) {
|
|
270845
|
+
var req = {
|
|
270856
270846
|
url: 'base/resRolePermission/getUserRolePermissions',
|
|
270857
270847
|
method: 'get'
|
|
270858
|
-
}
|
|
270848
|
+
};
|
|
270849
|
+
if (jwtToken) {
|
|
270850
|
+
req.params = {
|
|
270851
|
+
jwtToken: jwtToken
|
|
270852
|
+
};
|
|
270853
|
+
}
|
|
270854
|
+
return httpRequest(req);
|
|
270859
270855
|
},
|
|
270860
270856
|
findH5apps: function findH5apps() {
|
|
270861
270857
|
var searchFields = [{
|
|
@@ -285747,7 +285743,7 @@ var asyncComponents = [
|
|
|
285747
285743
|
}], ['ModifyFormTrace', function () {
|
|
285748
285744
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 81106));
|
|
285749
285745
|
}], ['PdfTools', function () {
|
|
285750
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285746
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 66302));
|
|
285751
285747
|
}], ['RichtextEditor', function () {
|
|
285752
285748
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56410));
|
|
285753
285749
|
}], ['PDFInjector', function () {
|
|
@@ -286186,7 +286182,7 @@ var SystemDesignerModule = function SystemDesignerModule() {
|
|
|
286186
286182
|
|
|
286187
286183
|
// ---------- 其他重型功能 ----------
|
|
286188
286184
|
var PdfToolsModule = function PdfToolsModule() {
|
|
286189
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286185
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 66302));
|
|
286190
286186
|
};
|
|
286191
286187
|
var RichtextEditorModule = function RichtextEditorModule() {
|
|
286192
286188
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56410));
|