@newview/permission-service 1.2.11 → 1.2.12
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 +1 -1
- package/dist/permission-service.js +13 -7
- package/dist/permission-service.umd.cjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22916,7 +22916,7 @@ class PlatformInstance2 extends BaseInstance {
|
|
|
22916
22916
|
PlatformName: "",
|
|
22917
22917
|
PlatformAbbreviation: "",
|
|
22918
22918
|
OssRootPath: "",
|
|
22919
|
-
PlatformGroup: 0,
|
|
22919
|
+
PlatformGroup: "0",
|
|
22920
22920
|
PlatformUrl: "",
|
|
22921
22921
|
OrderNo: 0,
|
|
22922
22922
|
CABusinessKey: "",
|
|
@@ -22941,7 +22941,11 @@ class PlatformInstance2 extends BaseInstance {
|
|
|
22941
22941
|
datas: [],
|
|
22942
22942
|
transfer: true,
|
|
22943
22943
|
clearable: true,
|
|
22944
|
-
multiple: false
|
|
22944
|
+
multiple: false,
|
|
22945
|
+
onChange: (event, data) => {
|
|
22946
|
+
const gropId = data.selectProp.datas.find((item) => item.value == event);
|
|
22947
|
+
this.platformFormModel.PlatformGroup = !this.utilities.isNull(gropId.PlatformGroup) ? gropId.PlatformGroup : "0";
|
|
22948
|
+
}
|
|
22945
22949
|
}
|
|
22946
22950
|
},
|
|
22947
22951
|
{ model: "PlatformUrl", label: "系统URL", prop: "PlatformUrl", type: "Input", span: 24 },
|
|
@@ -23031,13 +23035,13 @@ class PlatformInstance2 extends BaseInstance {
|
|
|
23031
23035
|
this.platformFormModel.LastUpdateUserId = user.Id;
|
|
23032
23036
|
this.platformFormModel.LastUpdateUserName = user.UserName;
|
|
23033
23037
|
this.platformFormModel.LastUpdateDate = this.utilities.getCurrentDate();
|
|
23034
|
-
this.platformFormModel.
|
|
23035
|
-
this.platformFormModel.DefaultPwd = data.PId;
|
|
23038
|
+
this.platformFormModel.DefaultPwd = data.DefaultPwd;
|
|
23036
23039
|
const tableData = (_a = this.platformGrid.value) == null ? void 0 : _a.getDatas();
|
|
23037
23040
|
this.platformFormItems[4].selectProp.datas = tableData.length > 0 ? tableData == null ? void 0 : tableData.map((item) => {
|
|
23038
23041
|
return {
|
|
23039
23042
|
value: item.Id,
|
|
23040
|
-
text: item.PlatformAbbreviation
|
|
23043
|
+
text: item.PlatformAbbreviation,
|
|
23044
|
+
PlatformGroup: item.PlatformGroup
|
|
23041
23045
|
};
|
|
23042
23046
|
}) : [];
|
|
23043
23047
|
this.editPlatformModalTitle.value = `编辑 - ${data.PlatformName}`;
|
|
@@ -23055,7 +23059,6 @@ class PlatformInstance2 extends BaseInstance {
|
|
|
23055
23059
|
this.platformFormModel.PlatformName = "";
|
|
23056
23060
|
this.platformFormModel.PlatformAbbreviation = "";
|
|
23057
23061
|
this.platformFormModel.OssRootPath = "";
|
|
23058
|
-
this.platformFormModel.PlatformGroup = 0;
|
|
23059
23062
|
this.platformFormModel.PlatformUrl = "";
|
|
23060
23063
|
this.platformFormModel.CABusinessKey = "";
|
|
23061
23064
|
this.platformFormModel.OrderNo = 0;
|
|
@@ -23068,9 +23071,12 @@ class PlatformInstance2 extends BaseInstance {
|
|
|
23068
23071
|
this.platformFormItems[4].selectProp.datas = data.length > 0 ? data == null ? void 0 : data.map((item) => {
|
|
23069
23072
|
return {
|
|
23070
23073
|
value: item.Id,
|
|
23071
|
-
text: item.PlatformAbbreviation
|
|
23074
|
+
text: item.PlatformAbbreviation,
|
|
23075
|
+
PlatformGroup: item.PlatformGroup
|
|
23072
23076
|
};
|
|
23073
23077
|
}) : [];
|
|
23078
|
+
this.platformFormModel.PId = data.length > 0 ? data[0].Id : 0;
|
|
23079
|
+
this.platformFormModel.PlatformGroup = data.length > 0 ? data[0].PlatformGroup : 0;
|
|
23074
23080
|
this.showEditPlatform.value = true;
|
|
23075
23081
|
}
|
|
23076
23082
|
//#endregion 系统平台编辑 END
|