@newview/permission-service 1.2.55 → 1.2.56
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/README.md +0 -3
- package/dist/permission-service.js +46 -20
- package/dist/permission-service.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,8 +10,8 @@ import { PlatformApi, PlatformGroupApi, ModuleApi, RoleApi, RoleModuleApi, Insti
|
|
|
10
10
|
import { BaseApi, QueryWrapper, request } from "@newview/infrastructure";
|
|
11
11
|
import { Icon, Tag, Checkbox, Divider, CheckboxGroup, Space } from "view-ui-plus";
|
|
12
12
|
import { SelectPlatform, BaseLogin, PersonSel, getUserSealImg } from "@newview/permission-ui";
|
|
13
|
-
import { SignTaskInfoApi } from "@newview/casign-api";
|
|
14
13
|
import { NvComFormUp } from "@newview/file-ui";
|
|
14
|
+
import { SignTaskInfoApi } from "@newview/casign-api";
|
|
15
15
|
import { ProvinceApi, CityApi, AreaApi, DictionaryDetailApi, DictionaryTypeApi } from "@newview/basics-api";
|
|
16
16
|
import { FileApi, OSSFileApi, FileInfoApi } from "@newview/fileservice-api";
|
|
17
17
|
import { NvMap } from "@newview/map";
|
|
@@ -3185,7 +3185,7 @@ const propDefine$j = {
|
|
|
3185
3185
|
};
|
|
3186
3186
|
const _sfc_main$j = defineComponent({
|
|
3187
3187
|
name: "Institution",
|
|
3188
|
-
components: { SelectPlatform },
|
|
3188
|
+
components: { SelectPlatform, NvComFormUp },
|
|
3189
3189
|
emits: [""],
|
|
3190
3190
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
3191
3191
|
props: propDefine$j,
|
|
@@ -3393,7 +3393,8 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
|
|
|
3393
3393
|
OrderNo: 1,
|
|
3394
3394
|
LastUpdateUserId: 0,
|
|
3395
3395
|
LastUpdateUserName: "",
|
|
3396
|
-
LastUpdateDate: ""
|
|
3396
|
+
LastUpdateDate: "",
|
|
3397
|
+
token: this.utilities.getUniqueCode()
|
|
3397
3398
|
}));
|
|
3398
3399
|
__publicField(this, "institutionFormItems", reactive([
|
|
3399
3400
|
{ model: "InstitutionName", label: "机构名称", prop: "InstitutionName", type: "Input", span: 24, inputProp: { placeholder: "请输入机构名称" } },
|
|
@@ -3426,7 +3427,17 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
|
|
|
3426
3427
|
}
|
|
3427
3428
|
},
|
|
3428
3429
|
{ model: "InstitutionCode", label: "机构编码", prop: "InstitutionCode", type: "Input", span: 24, inputProp: { placeholder: "请输入机构编码" } },
|
|
3429
|
-
{ model: "OrderNo", label: "排序号", prop: "OrderNo", type: "InputNumber", span: 24 }
|
|
3430
|
+
{ model: "OrderNo", label: "排序号", prop: "OrderNo", type: "InputNumber", span: 24 },
|
|
3431
|
+
{
|
|
3432
|
+
label: "签章",
|
|
3433
|
+
model: "token",
|
|
3434
|
+
prop: "token",
|
|
3435
|
+
type: "UploadFile",
|
|
3436
|
+
span: 24,
|
|
3437
|
+
uploadFileProp: {
|
|
3438
|
+
uploadQuantity: 1
|
|
3439
|
+
}
|
|
3440
|
+
}
|
|
3430
3441
|
]));
|
|
3431
3442
|
// 响应式方法 | xxx = () => {}
|
|
3432
3443
|
/**
|
|
@@ -3440,7 +3451,8 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
|
|
|
3440
3451
|
InstitutionName: this.institutionFormModel.InstitutionName,
|
|
3441
3452
|
LastUpdateUserId: this.institutionFormModel.LastUpdateUserId,
|
|
3442
3453
|
LastUpdateUserName: this.institutionFormModel.LastUpdateUserName,
|
|
3443
|
-
LastUpdateDate: this.institutionFormModel.LastUpdateDate
|
|
3454
|
+
LastUpdateDate: this.institutionFormModel.LastUpdateDate,
|
|
3455
|
+
token: this.institutionFormModel.token
|
|
3444
3456
|
});
|
|
3445
3457
|
let result = this.utilities.parseApiResult(apiResult);
|
|
3446
3458
|
if (result <= 0) {
|
|
@@ -3897,6 +3909,7 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
|
|
|
3897
3909
|
doEditInstitution(data) {
|
|
3898
3910
|
const user = this.storageInfo.getUser();
|
|
3899
3911
|
this.institutionFormModel.Id = data.Id;
|
|
3912
|
+
this.institutionFormModel.token = data.token;
|
|
3900
3913
|
this.institutionFormModel.EnterpriseId = data.EnterpriseId;
|
|
3901
3914
|
this.institutionFormModel.InstitutionPlatformId = data.InstitutionPlatformId;
|
|
3902
3915
|
this.institutionFormModel.InstitutionCode = data.InstitutionCode;
|
|
@@ -3915,7 +3928,9 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
|
|
|
3915
3928
|
*/
|
|
3916
3929
|
doAddInstitution() {
|
|
3917
3930
|
const user = this.storageInfo.getUser();
|
|
3931
|
+
debugger;
|
|
3918
3932
|
this.institutionFormModel.Id = 0;
|
|
3933
|
+
this.institutionFormModel.token = this.utilities.getUniqueCode();
|
|
3919
3934
|
this.institutionFormModel.EnterpriseId = 0;
|
|
3920
3935
|
this.institutionFormModel.InstitutionPlatformId = 0;
|
|
3921
3936
|
this.institutionFormModel.InstitutionCode = "";
|
|
@@ -4092,7 +4107,7 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
|
|
|
4092
4107
|
}
|
|
4093
4108
|
//#endregion 绑定角色 END
|
|
4094
4109
|
};
|
|
4095
|
-
const
|
|
4110
|
+
const Institution_vue_vue_type_style_index_0_scoped_9978b252_lang = "";
|
|
4096
4111
|
const _hoisted_1$i = { style: { "width": "100%", "height": "100%", "position": "relative" } };
|
|
4097
4112
|
const _hoisted_2$9 = { style: { "height": "500px", "overflow-y": "auto" } };
|
|
4098
4113
|
const _hoisted_3$9 = {
|
|
@@ -4110,7 +4125,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4110
4125
|
const _component_Spin = resolveComponent("Spin");
|
|
4111
4126
|
const _component_Button = resolveComponent("Button");
|
|
4112
4127
|
const _component_Space = resolveComponent("Space");
|
|
4113
|
-
const
|
|
4128
|
+
const _component_NvComFormUp = resolveComponent("NvComFormUp");
|
|
4114
4129
|
const _component_Form = resolveComponent("Form");
|
|
4115
4130
|
const _component_Modal = resolveComponent("Modal");
|
|
4116
4131
|
const _component_Option = resolveComponent("Option");
|
|
@@ -4237,7 +4252,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4237
4252
|
"label-width": 90
|
|
4238
4253
|
}, {
|
|
4239
4254
|
default: withCtx(() => [
|
|
4240
|
-
createVNode(
|
|
4255
|
+
createVNode(_component_NvComFormUp, {
|
|
4241
4256
|
ref: "institutionComForm",
|
|
4242
4257
|
formModel: _ctx.institutionFormModel,
|
|
4243
4258
|
formItems: _ctx.institutionFormItems
|
|
@@ -4370,7 +4385,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4370
4385
|
_: 1
|
|
4371
4386
|
});
|
|
4372
4387
|
}
|
|
4373
|
-
const Institution = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-
|
|
4388
|
+
const Institution = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-9978b252"]]);
|
|
4374
4389
|
const propDefine$i = {};
|
|
4375
4390
|
const _sfc_main$i = defineComponent({
|
|
4376
4391
|
name: "LoginLog",
|
|
@@ -9671,9 +9686,6 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
9671
9686
|
PlatformId: this.props.platformInfo.Id
|
|
9672
9687
|
})));
|
|
9673
9688
|
if (res && res.length > 0) {
|
|
9674
|
-
if (this.utilities.isNull(res[0].ProjectConfig)) {
|
|
9675
|
-
res[0].ProjectConfig = "[]";
|
|
9676
|
-
}
|
|
9677
9689
|
Object.assign(this.nowRow, res[0]);
|
|
9678
9690
|
let data = this.props.configType == "GC" ? this.utilities.deepCopy(JSON.parse(res[0].ProjectConfig)) : this.utilities.deepCopy(JSON.parse(res[0].ConstructConfig));
|
|
9679
9691
|
if (data && data.length > 0) {
|
|
@@ -12061,7 +12073,7 @@ const propDefine$9 = {
|
|
|
12061
12073
|
};
|
|
12062
12074
|
const _sfc_main$9 = defineComponent({
|
|
12063
12075
|
name: "Institution",
|
|
12064
|
-
components: { SelectPlatform },
|
|
12076
|
+
components: { SelectPlatform, NvComFormUp },
|
|
12065
12077
|
emits: [""],
|
|
12066
12078
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
12067
12079
|
props: propDefine$9,
|
|
@@ -12298,7 +12310,8 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
12298
12310
|
OrderNo: 1,
|
|
12299
12311
|
LastUpdateUserId: 0,
|
|
12300
12312
|
LastUpdateUserName: "",
|
|
12301
|
-
LastUpdateDate: ""
|
|
12313
|
+
LastUpdateDate: "",
|
|
12314
|
+
token: this.utilities.getUniqueCode()
|
|
12302
12315
|
}));
|
|
12303
12316
|
__publicField(this, "institutionFormItems", reactive([
|
|
12304
12317
|
{ model: "InstitutionName", label: "机构名称", prop: "InstitutionName", type: "Input", span: 24, inputProp: { placeholder: "请输入机构名称" } },
|
|
@@ -12331,7 +12344,17 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
12331
12344
|
}
|
|
12332
12345
|
},
|
|
12333
12346
|
{ model: "InstitutionCode", label: "机构编码", prop: "InstitutionCode", type: "Input", span: 24, inputProp: { placeholder: "请输入机构编码" } },
|
|
12334
|
-
{ model: "OrderNo", label: "排序号", prop: "OrderNo", type: "InputNumber", span: 24 }
|
|
12347
|
+
{ model: "OrderNo", label: "排序号", prop: "OrderNo", type: "InputNumber", span: 24 },
|
|
12348
|
+
{
|
|
12349
|
+
label: "签章",
|
|
12350
|
+
model: "token",
|
|
12351
|
+
prop: "token",
|
|
12352
|
+
type: "UploadFile",
|
|
12353
|
+
span: 24,
|
|
12354
|
+
uploadFileProp: {
|
|
12355
|
+
uploadQuantity: 1
|
|
12356
|
+
}
|
|
12357
|
+
}
|
|
12335
12358
|
]));
|
|
12336
12359
|
// 响应式方法 | xxx = () => {}
|
|
12337
12360
|
/**
|
|
@@ -12345,7 +12368,8 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
12345
12368
|
InstitutionName: this.institutionFormModel.InstitutionName,
|
|
12346
12369
|
LastUpdateUserId: this.institutionFormModel.LastUpdateUserId,
|
|
12347
12370
|
LastUpdateUserName: this.institutionFormModel.LastUpdateUserName,
|
|
12348
|
-
LastUpdateDate: this.institutionFormModel.LastUpdateDate
|
|
12371
|
+
LastUpdateDate: this.institutionFormModel.LastUpdateDate,
|
|
12372
|
+
token: this.institutionFormModel.token
|
|
12349
12373
|
});
|
|
12350
12374
|
let result = this.utilities.parseApiResult(apiResult);
|
|
12351
12375
|
if (result <= 0) {
|
|
@@ -12810,6 +12834,7 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
12810
12834
|
doEditInstitution(data) {
|
|
12811
12835
|
const user = this.storageInfo.getUser();
|
|
12812
12836
|
this.institutionFormModel.Id = data.Id;
|
|
12837
|
+
this.institutionFormModel.token = data.token;
|
|
12813
12838
|
this.institutionFormModel.EnterpriseId = data.EnterpriseId;
|
|
12814
12839
|
this.institutionFormModel.InstitutionPlatformId = data.InstitutionPlatformId;
|
|
12815
12840
|
this.institutionFormModel.InstitutionCode = data.InstitutionCode;
|
|
@@ -12829,6 +12854,7 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
12829
12854
|
doAddInstitution() {
|
|
12830
12855
|
const user = this.storageInfo.getUser();
|
|
12831
12856
|
this.institutionFormModel.Id = 0;
|
|
12857
|
+
this.institutionFormModel.token = this.utilities.getUniqueCode();
|
|
12832
12858
|
this.institutionFormModel.EnterpriseId = 0;
|
|
12833
12859
|
this.institutionFormModel.InstitutionPlatformId = 0;
|
|
12834
12860
|
this.institutionFormModel.InstitutionCode = "";
|
|
@@ -13009,7 +13035,7 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
13009
13035
|
}
|
|
13010
13036
|
//#endregion 绑定角色 END
|
|
13011
13037
|
}
|
|
13012
|
-
const
|
|
13038
|
+
const Institution_vue_vue_type_style_index_0_scoped_30aec484_lang = "";
|
|
13013
13039
|
const _hoisted_1$8 = { style: { "width": "100%", "height": "100%", "position": "relative" } };
|
|
13014
13040
|
const _hoisted_2$5 = { style: { "height": "500px", "overflow-y": "auto" } };
|
|
13015
13041
|
const _hoisted_3$5 = {
|
|
@@ -13029,7 +13055,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13029
13055
|
const _component_Tree = resolveComponent("Tree");
|
|
13030
13056
|
const _component_Button = resolveComponent("Button");
|
|
13031
13057
|
const _component_Space = resolveComponent("Space");
|
|
13032
|
-
const
|
|
13058
|
+
const _component_NvComFormUp = resolveComponent("NvComFormUp");
|
|
13033
13059
|
const _component_Form = resolveComponent("Form");
|
|
13034
13060
|
const _component_Modal = resolveComponent("Modal");
|
|
13035
13061
|
const _component_NvPage = resolveComponent("NvPage");
|
|
@@ -13189,7 +13215,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13189
13215
|
"label-width": 90
|
|
13190
13216
|
}, {
|
|
13191
13217
|
default: withCtx(() => [
|
|
13192
|
-
createVNode(
|
|
13218
|
+
createVNode(_component_NvComFormUp, {
|
|
13193
13219
|
ref: "institutionComForm",
|
|
13194
13220
|
formModel: _ctx.institutionFormModel,
|
|
13195
13221
|
formItems: _ctx.institutionFormItems
|
|
@@ -13322,7 +13348,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13322
13348
|
_: 1
|
|
13323
13349
|
});
|
|
13324
13350
|
}
|
|
13325
|
-
const subinstitution = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-
|
|
13351
|
+
const subinstitution = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-30aec484"]]);
|
|
13326
13352
|
const propDefine$8 = {};
|
|
13327
13353
|
const _sfc_main$8 = defineComponent({
|
|
13328
13354
|
name: "LoginLog",
|